Skip to main content
Glama

undo

Restore the scene and any overwritten vector levels to their prior state before the last N MCP writes.

Instructions

Restore the scene (and any overwritten vector levels) to the state before the last N MCP writes.

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": "undo"
  }
}

Input Schema

NameRequiredDescriptionDefault
sceneYes
stepsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose what is affected (the scene and any overwritten vector levels) and that only MCP writes are undone, which is real behavioral value. It omits whether the undo is itself reversible, whether state is snapshotted per write, and failure behavior when history is insufficient.

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?

One sentence, front-loaded with the effect and followed by the scope constraint. Zero padding; every clause adds information.

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 mutation tool with no annotations and no output schema, the description covers the core effect and scope but leaves failure modes, history limits, and reversibility unexplained. Adequate to attempt a call, not adequate to predict edge-case behavior.

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 coverage is 0%, so both parameters are undocumented. The phrase 'last N MCP writes' hints that a count parameter exists, but it never maps that to the 'steps' field, nor explains what a 'scene' identifier looks like or whether deeper undos are bounded.

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 target: restore the scene (and overwritten vector levels) to the pre-write state. The scope qualifier 'before the last N MCP writes' makes the operation precise, though it does not distinguish itself from any sibling (no redo-style alternative is named or implied).

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?

Implies usage — call it to roll back recent MCP writes — and usefully scopes it to MCP writes rather than user edits. But it gives no explicit when-to-use/when-not guidance, no statement about what happens if the undo history is empty or N exceeds available steps, and no alternative tooling to consider.

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