Skip to main content
Glama
mulhans100-a11y

Godot MCP Assistant

generate_tscn_scene

Convert a JSON scene tree into a Godot 4 .tscn file, with resources, sub-resources, groups, node properties, and optional scene instances.

Instructions

Generate a Godot 4 text scene (.tscn) from a JSON scene tree, resources, sub-resources, groups, node properties, and optional scene instances.

Input Schema

NameRequiredDescriptionDefault
sceneYesScene data containing root, optional resources, optional subResources, and nested children.
overwriteNoReplace an existing scene. Defaults to false.
scenePathYesPath to the .tscn file relative to projectPath.
projectPathYesAbsolute path to a directory containing project.godot.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden. It implies a write operation ('Generate ... .tscn') but never states that a file is written to disk, what happens when the target already exists (the overwrite parameter exists but is not referenced), or whether the operation is idempotent or destructive. This is a significant gap for a filesystem-mutating tool.

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

Conciseness4/5

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

A single, front-loaded sentence listing the generated artifact and its inputs; no filler. It is appropriately sized, though the one-sentence form leaves no room for the usage or behavioral detail that is missing.

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?

The schema is rich and fully described (nested root/children, resources, sub-resources), so parameter semantics are largely covered. However, for a write tool with no annotations and no output schema, the description should still mention overwrite behavior and that a file is persisted. Adequate but incomplete.

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% and the parameters are well documented in the schema, including overwrite's default and scenePath/projectPath semantics. The description's enumeration of scene-tree contents adds only marginal meaning beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource: generate a Godot 4 .tscn text scene from a JSON scene tree. The scope of inputs (resources, sub-resources, groups, node properties, instances) is enumerated, so the agent knows exactly what the tool produces. It does not explicitly differentiate from siblings, though none of them overlap directly.

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 on when to use this versus alternatives such as create_gdscript or godot_open_scene, and no mention of prerequisites (the schema notes projectPath must contain project.godot, but the description does not). The agent must infer usage context entirely.

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