Skip to main content
Glama

instantiate_scene

Add a packed scene as a child node in a Godot project, automatically handling resource references for efficient scene composition.

Instructions

Instantiate a packed scene (sub-scene) as a child node inside another scene. Adds the ext_resource entry automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathYesAbsolute path to the project directory
scenePathYesScene to add the instance into
subScenePathYesPacked scene to instantiate (e.g. res://enemies/Slime.tscn)
parentNodePathNoParent node path (default: . = root of the scene)
nodeNameNoName for the instance node (defaults to scene filename without extension)
Behavior2/5

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

With no annotations, the description carries full burden. It mentions adding an ext_resource entry automatically, which is useful behavioral context. However, it doesn't cover critical aspects like whether this is a destructive operation, permission requirements, error handling, or what happens if the scene already exists.

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 a single, efficient sentence that front-loads the core action and includes a key behavioral detail (ext_resource entry). Every word earns its place with zero waste.

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?

For a tool with 5 parameters, no annotations, and no output schema, the description is minimal but covers the basic operation. It lacks details on return values, error conditions, and behavioral nuances, leaving gaps given the complexity.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema fully documents all 5 parameters. The description adds no additional parameter semantics beyond what's in the schema, such as format examples or constraints. Baseline 3 is appropriate when schema does the heavy lifting.

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

Purpose4/5

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

The description clearly states the verb ('instantiate') and resource ('packed scene'), specifying it adds the instance as a child node and automatically creates an ext_resource entry. It distinguishes from siblings like 'add_node' by focusing on packed scenes, though it doesn't explicitly contrast with all similar tools.

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 explicit guidance on when to use this tool versus alternatives like 'add_node' or 'duplicate_node' is provided. The description implies usage for adding packed scenes but lacks context about prerequisites, alternatives, or exclusions.

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/Pushks18/Godot-MCP-Pilot'

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