Skip to main content
Glama

scene_instantiate

Instantiates a source scene as a child node within a target scene, enabling modular composition and reuse of scene components in Godot.

Instructions

Instance a scene as a child node in another scene.

Category: Scene

Args: project_path: Path to the Godot project directory target_scene_path: Path to the scene where the instance will be added source_scene_path: Path to the scene to instance (e.g., "scenes/player.tscn") parent_node_path: Path to the parent node (default: "root") instance_name: Optional custom name for the instance

Returns: Success message or error description

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_pathYes
target_scene_pathYes
source_scene_pathYes
parent_node_pathNoroot
instance_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It states that it instances a scene as a child and returns success/error, but lacks details on side effects (e.g., does it modify the scene file on disk?), required environment (Godot editor running?), error handling, or constraints (e.g., cannot instance itself). This is insufficient for safe agent invocation.

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?

The description is concise, with a single-line purpose statement followed by a structured list of arguments and returns. No redundant information. It front-loads the core function and uses minimal words, earning its place.

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

Completeness3/5

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

Given the tool's complexity (scene instantiation in Godot) and that annotations are absent, the description covers the basics but is missing critical context: error scenarios, whether the operation is transient or persistent, and output schema details (though an output schema exists, it is not shown). The return description is vague. Adequate but with gaps.

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?

Schema description coverage is 0%, but the description adds meaningful explanations for all five parameters, including examples (e.g., 'scenes/player.tscn') and default values. This compensates for the schema's lack of descriptions. However, it does not specify path format constraints (absolute vs. relative) or validation rules.

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 clearly states 'Instance a scene as a child node in another scene', providing a specific verb and resource. It also lists the category 'Scene', and the parameter names and descriptions make the tool's function unambiguous. This distinguishes it from siblings like 'scene_create' or 'node_add'.

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

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus alternatives. There is no mention of prerequisites (e.g., target scene must be open), when not to use it, or comparison to other tools like 'node_add' or 'runtime_add_scene_instance'. The description is purely operational.

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/ChanceFlow/godot-mcp'

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