Skip to main content
Glama

Undo, redo, checkpoints

edit_history
Destructive

Undo, redo, and save named checkpoints to revert floor plan changes while preserving every element ID. List history points to restore a project state without duplicating versions.

Instructions

Undo, redo, or name where the plan is now and come back to it. undo and redo step through changes, whoever made them, and the reply names what changed. checkpoint {label} remembers this point; revert {label} undoes back down to it, keeping every id — which duplicating a version cannot do, since a copy renumbers. revert reaches a checkpoint only while the project stays open; history lists them.

Input Schema

NameRequiredDescriptionDefault
labelNoFor `checkpoint` and `revert`: the checkpoint's name
actionYesWhat to do

Output Schema

NameRequiredDescriptionDefault
vNo
okYes
idsNo
revNo
goneNo
textYes
addedNo
changedNo
propertiesNo
annotationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.0.0

TDQS

A4.9/5.0
Behavior5/5

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

The annotations already mark the tool as destructive and not read-only, and the description adds substantial behavioral context: undo/redo span all changes regardless of author, replies identify what changed, revert preserves every id, and checkpoint reachability is limited to the open project.

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?

The description is front-loaded with the main actions, then adds only the caveats and distinctions an agent needs. Every clause earns its place, including the id-preservation contrast and the open-project limitation.

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

Completeness5/5

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

Given the output schema and annotations, the description covers the remaining decision-critical details: action meanings, label usage, persistence limits, id behavior, and the relationship to `history`. Nothing essential for correct invocation is missing.

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%, so the schema already documents both parameters. The description still adds meaning by explaining what each action does and how `label` is used for `checkpoint` and `revert`, though it does not add format or validation details beyond that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the specific actions (undo, redo, checkpoint, revert) and the resource state being managed. It also distinguishes the tool from `history` and from duplicating a version, so an agent can identify its role without opening sibling schemas.

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

Usage Guidelines5/5

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

It explains when to use each action and gives explicit constraints: `revert` only works while the project stays open, and `history` lists checkpoints. It also contrasts `revert` with duplicating a version, which is a clear alternative-based guideline.

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