Skip to main content
Glama

Read a scene, prefab or project file

re_scene
Read-onlyIdempotent

Parse Godot and Unity scene, prefab, and project files into a neutral tree with nodes, scripts, transforms, components, instancing, signals, and a Mermaid diagram for porting and analysis.

Instructions

Reads Godot .tscn/.tres/project.godot (Godot 3 and 4) and Unity .unity/.prefab/.asset (text serialization) into one neutral tree: node names, types, scripts, transforms (position, quaternion, scale), components, groups/tags, instanced scenes/prefabs (resolved through .meta GUIDs), signal connections, plus a mermaid diagram.

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": {
      "file": "<file>"
    },
    "name": "re_scene"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesScene/prefab/project file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.25.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered; the description adds genuine value by disclosing the returned fields (node names, types, scripts, transforms, components, groups/tags, resolved instances, signal connections) and that a mermaid diagram is included. Since no output schema exists, this output disclosure is doing real work. It loses a point for not covering failure modes such as unsupported or binary-serialized files.

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?

One front-loaded sentence that starts with the verb and the accepted formats before listing output contents; every clause carries information. It is dense and could be split for readability, but nothing is filler.

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

Completeness4/5

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

For a one-parameter read tool with no output schema, the definition covers inputs (formats, engine versions) and outputs (tree fields plus mermaid diagram) thoroughly. Gaps are secondary: error behavior for unsupported/binary files and the concrete output encoding are not stated.

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 coverage is 100% for the single `file` parameter, so the baseline is 3. The description earns above baseline by adding meaning the schema lacks: which extensions and engine versions are acceptable (Godot 3 and 4, Unity text serialization) and that instanced references are resolved via .meta GUIDs.

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 opens with a concrete verb ("Reads") and then enumerates the exact resource families and file extensions it handles (.tscn/.tres/project.godot, .unity/.prefab/.asset) plus the normalized output shape. An agent knows precisely what comes back. It stops short of a 5 because it never distinguishes itself from a sibling like port_scene, which plausibly touches the same file types.

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

Usage Guidelines3/5

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

Usage is implied by the accepted-format list: if you hold a Godot or Unity text-serialized scene/prefab/project, this is the tool. There is no explicit when-to-use statement, no exclusion (e.g. binary-serialized assets, which may belong to re_binary), and no named alternative such as port_scene.

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