Skip to main content
Glama

reaper_undo_redo

Undo or redo the last action in a REAPER project, letting AI agents revert mistakes or restore changes during DAW editing sessions.

Instructions

Undo or redo the last action in REAPER. action: 'undo' | 'redo'.

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

Input Schema

NameRequiredDescriptionDefault
actionNoundo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a single-step history operation ('the last action') but says nothing about whether history depth is limited, whether undo can be repeated, or how failures (empty history) are reported. That is a thin disclosure for a state-mutating tool with zero annotation coverage.

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 short sentences, front-loaded with the verb and scope, followed by the parameter values. Every clause earns its place and nothing is padded.

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?

This is a simple one-parameter tool with an output schema, so the return values need no explanation. However, with no annotations and no error/edge-case disclosure, the definition is only minimally sufficient for an agent to call it confidently in unusual states.

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 description coverage is 0% and the schema declares no enum for 'action', so the description's "'undo' | 'redo'" is the only place the legal values appear — genuine added meaning rather than repetition. It still does not state that the parameter defaults to 'undo', which the schema does show.

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 pair (undo/redo) and a specific scope (the last action in REAPER), which is unambiguous. It does not name or distinguish itself from any sibling such as reaper_action, but the purpose is clear enough that an agent would not confuse it with track/item editing tools.

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

Usage Guidelines2/5

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

There is no guidance on when to invoke this versus reaper_action or other state-changing tools, and no prerequisites stated. The description never says what happens if there is no action to undo, which is the key usage condition for an undo tool.

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