Skip to main content
Glama

Undo your last change

undo

Revert your last board change, such as a drawing, edit, or clear, while leaving other people's newer changes untouched and reported as kept.

Instructions

Takes back your last change(s) to the board (a drawing, an edit, a clear). Anything someone else has changed since is left as they made it, and reported as kept.

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

Input Schema

NameRequiredDescriptionDefault
speedNoHow fast shapes appear, so people can follow along (default normal). instant for big changes nobody needs to watch
stepsNoHow many of your changes (default 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose a non-obvious behavioral trait: this is a partial undo that preserves concurrent changes made by others and reports them as kept. That is genuinely useful context an agent could not derive from the schema. It still omits reversibility (is the undo itself undoable?), behavior when the undo stack is empty, and any failure modes.

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?

Two sentences, front-loaded with the core action, followed by the concurrency caveat. Every clause carries information: verb, target, examples, and the multi-user rule. Nothing is padding.

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 two-optional-parameter revert tool with no annotations and no output schema, the description covers what it does and the key concurrency semantic, and the parameters are handled by the schema. The 'reported as kept' phrase gestures at return content without detailing it, and edge cases like an empty undo history are unaddressed — small gaps, not disqualifying ones.

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 both 'steps' and 'speed' are already fully documented with defaults, bounds, and an enum. The description's 'change(s)' hints that multiple steps are supported but adds no syntax, limits, or interaction detail beyond the schema. Baseline 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?

States a specific verb ('takes back') and a precise resource ('your last change(s) to the board'), and gives examples (drawing, edit, clear) that map the tool to the change types produced by siblings. It does not name an alternative such as delete_shapes or clear_board, so differentiation is by scope rather than by explicit routing.

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 rather than stated: revert your own most recent action, not someone else's. The 'your'/'someone else' contrast does implicit work in ruling out some misuse, but there is no explicit when-to-use rule, no stated alternative for reverting other people's changes, and no guidance on what to do when there is nothing to undo.

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