Skip to main content
Glama

godot_visualize_scene_tree

Generate a visual ASCII tree of a Godot scene's node hierarchy, including icons, scripts, and types, to inspect structure and depth directly from a .tscn file.

Instructions

Generate a visual ASCII tree of a scene's node hierarchy with icons, scripts, and types.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "scene": "<scene>"
    },
    "name": "godot_visualize_scene_tree"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoMax depth to visualize (default: 10)
sceneYesScene file path (.tscn)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the output shape (ASCII tree with icons, scripts, types) and implicitly that this is a non-mutating read of a file. It says nothing about failure behavior for a missing or invalid .tscn path, whether the tree is truncated by default depth, or the size of the returned text.

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?

A single front-loaded sentence that identifies the operation, the output medium, and the content included, with no filler or restated title text. Nothing in it is wasted.

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 two-parameter read tool with a fully documented schema and no output schema, the description covers the essentials of what is produced. It falls short on how to interpret or bound the output (depth effects, handling of large hierarchies) and on error conditions.

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%: both the scene path (.tscn) and the depth parameter with its default of 10 are documented in the schema. The description adds no extra meaning, such as how depth interacts with output size or whether depth is relative to the root, so the baseline of 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?

The description gives a specific verb and resource: "Generate a visual ASCII tree of a scene's node hierarchy," and even names the content included (icons, scripts, types). It does not explicitly distinguish itself from sibling godot_analyze_scene, which reads as a purely structural/analytical operation, so the boundary is left to inference.

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?

There is no guidance on when to choose this over godot_analyze_scene or godot_analyze_dependencies, and no stated preconditions such as the scene file needing to exist. An agent must guess whether this is for human-readable inspection versus programmatic analysis.

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