Skip to main content
Glama

scene_patch

Apply multiple scene edits atomically in a single headless Godot run: create scenes, add/modify/remove/reparent nodes, connect signals, and add collision shapes.

Instructions

Apply batched atomic scene operations (create_scene, add_node, modify_node, remove_node, reparent_node, connect_signal, disconnect_signal, add_collision_shape) in one headless Godot run.

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": {
      "scenePath": "<scenePath>",
      "ops": "<ops>"
    },
    "name": "scene_patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
opsYes
scenePathYes
projectPathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

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 two real traits: operations are atomic (implying rollback on failure) and the whole batch executes in a single headless engine launch (an execution-cost signal). It says nothing about what happens on partial failure, whether the scene is written back to disk, ordering dependencies between ops, or what errors look like.

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 dense sentence with the verb, the batching model, and the full operation list front-loaded; nothing is wasted and the operation enumeration is the most useful part of the sentence.

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 eight heterogeneous operation shapes, no annotations, and no output schema, one sentence is the bare minimum: it conveys purpose and batching but leaves failure semantics, persistence, and parameter roles undocumented. An agent can pick the right tool but may compose an invalid or wrongly ordered ops array.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate and largely does not. The op names it lists are already the schema's const discriminators, while scenePath and projectPath are never explained (relative vs absolute, why projectPath is optional), nor is the ordering/atomicity semantics of the ops array.

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 ("Apply") plus resource ("batched atomic scene operations") and enumerates all eight operation kinds, so an agent can map its edit intent onto this tool without opening the schema. It never names scene_inspect or any sibling as the read-only counterpart, so differentiation is only implied by the word "operations."

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?

"in one headless Godot run" signals the intended scenario: batching multiple edits efficiently rather than issuing them one at a time. There is no explicit when-to-use versus scene_inspect, no prerequisites (does the scene file need to exist? is projectPath required for resolution?), and no when-not guidance.

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