Skip to main content
Glama
playcanvas

PlayCanvas Editor MCP Server

Official
by playcanvas

load_scene

Idempotent

Switch the editor to a specific scene using its uniqueId, replacing the currently open scene. Set wait=true to wait until the new scene is active.

Instructions

Load (switch the editor to) a scene by its uniqueId. This unloads the current scene and opens the target one. By default the tool returns after queuing the load. Set wait=true to return only after the requested scene is active. When NOT to use: to read a scene without switching (use get_scene) or to create a new scene (use create_scene).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waitNoWait until the editor reports the requested scene is active
uniqueIdYesScene uniqueId (the "uniqueId" field from list_scenes, not id)
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations, it discloses that the current scene is unloaded and that loading is asynchronous by default, returning only after the scene is active with wait=true. These are meaningful side effects and timing behaviors an agent needs to know.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short, front-loaded sentences with no filler. Every sentence contributes either core semantics, timing behavior, or routing guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter tool with annotations covering idempotence and destructiveness, the description covers operation, side effects, default behavior, the wait option, and alternatives. No critical calling information is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already fully documents both parameters, so the baseline is 3. The description adds value by explaining the wait parameter's behavioral effect (queued load vs waiting until active), though it adds little beyond schema for uniqueId.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Load (switch the editor to) a scene by its uniqueId') and explains the switching semantics ('unloads the current scene and opens the target one'), making it clearly distinct from read-only operations like get_scene.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states when not to use the tool and names the alternatives (get_scene for reading, create_scene for creating), and explains the wait=true option versus the default queued-return behavior.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/playcanvas/editor-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server