Skip to main content
Glama

Undo Change

undo_change
Destructive

Revert a wrong step in Blender one call at a time, or list and undo several, without restarting. Returns steps undone, counts, and unsaved changes so you can verify the rollback.

Instructions

Step back through undo steps, one per call that changed something; Python references go stale. Returns: steps undone, counts, unsaved_changes. WHEN TO CALL: to take back calls that went wrong.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "undo_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
listNoName the steps; undo none
forceNoUndo steps whatever made them
stepsNoDefault 1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructive, non-idempotent, non-open-world behavior, and the description adds genuinely new context: undo is applied one step at a time, Python references go stale, and the response surfaces counts and unsaved_changes. That stale-reference warning is a meaningful non-obvious side effect; only the lack of any note on what happens when the undo stack is empty holds it back.

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?

Three compact clauses with front-loaded behavior, an explicit 'Returns:' segment, and a cue-phrased when-to-call line. Dense and well structured, though the terseness of phrases like 'counts' borders on shorthand.

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 destructive, non-idempotent mutation with no output schema, the description covers granularity, the stale-reference risk, and the response fields. Only the semantics of the list/force flags remain under-explained, which the fully covered schema partly mitigates.

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%, so the baseline is 3. The schema strings for 'list' and 'force' are terse and slightly cryptic, and the description does not clarify them, so no additional meaning is contributed beyond the schema.

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 ('step back through undo steps') and adds a precise granularity rule: one step per call that changed something. No sibling offers undo, so differentiation is implicit rather than stated, which keeps it just under a 5.

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

Usage Guidelines4/5

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

The 'WHEN TO CALL' line gives a clear trigger condition ('to take back calls that went wrong'). It does not state when not to use it, nor whether re-running after a save is safe, but the positive guidance is explicit.

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