Skip to main content
Glama

reaper_undo

Revert or reapply the last action in REAPER, letting AI assistants roll back unwanted edits or restore a change with a single undo step.

Instructions

Undo (or redo) the last action.

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

Input Schema

NameRequiredDescriptionDefault
redoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the safety profile is covered structurally. The description adds the meaningful scope constraint that only the last action is affected, but it says nothing about undo-stack depth, repeatability, or failure behavior when the stack is empty.

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?

Six words, verb first, with the scope qualifier and the redo variant both packed into a single clause. Nothing is redundant and the operative information is front-loaded.

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 one-parameter, non-read-only tool with no output schema, the definition is minimally sufficient to call correctly, and annotations carry the safety signals. It is still thin on what an agent needs to recover from failure (empty undo stack) and on whether repeated calls walk backwards through history.

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 0%, so the schema contributes only the name, type and default for 'redo'. The description partially compensates by pairing 'undo' with 'redo', making the boolean's intent inferable, but it never states that true means redo the undone action or that the default is a plain undo.

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?

Names a specific verb (undo/redo) and the exact scope (the last action), so an agent knows this reverses the most recent operation rather than some arbitrary state. It does not need sibling differentiation because no sibling tool covers undo/redo, but it also never says so explicitly.

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?

The parenthetical '(or redo)' implies that setting redo selects the inverse operation, which is the only real usage decision here. There is no explicit statement of when to prefer this over re-running an action or over a broader history mechanism, and no mention of what happens 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.