Skip to main content
Glama

Undo / redo

undo

Rewind or redo recent Premiere Pro edits made by tool calls, apply raw keyboard steps, or list recorded call history.

Instructions

Undo/redo whole tool calls: calls: N (default 1) rewinds Premiere's steps and the DOM edits of the last N calls; redo: true redoes them; steps: N is raw Ctrl+Z; history: true lists recorded calls. Fails with UNDO_STACK_CHANGED after manual edits.

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
redoNoRedo instead of undo
callsNoUndo (or with redo: true, redo) the last N tool calls
stepsNoRaw Premiere undo/redo steps
historyNoList the recorded calls instead of undoing

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.5.3

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare openWorldHint=false and destructiveHint=false, but the description adds substantial context: defaults (1 call), what is actually rewound (Premiere steps plus DOM edits), and a concrete failure mode (UNDO_STACK_CHANGED after manual edits). It doesn't say what happens when the history is empty, which keeps it from a 5.

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?

Everything is packed into one dense, semicolon-delimited sentence, with the core verb and default front-loaded. It earns its space but is cramped enough that a reader must parse it twice to separate the four modes.

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 4-param, no-output-schema tool, this covers modes, defaults, scope of effect, and failure behavior. Only minor gaps remain, such as behavior when no recorded calls exist and whether redo is available only immediately after an undo.

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?

Although the schema has 100% description coverage, the description adds meaning the schema doesn't: calls rewinds both Premiere steps and DOM edits, steps bypasses that to raw Ctrl+Z, and history switches the tool into a listing mode. That distinction between the two undo mechanisms is the key semantic added.

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 a specific verb and resource ("Undo/redo whole tool calls") and immediately distinguishes the two scopes it operates on: high-level tool calls versus raw Premiere steps. An agent can tell exactly what this tool does without opening the schema.

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?

Each parameter mode is explained with its use case: calls for rewinding the last N recorded calls, steps for raw Ctrl+Z behavior, history for listing instead of undoing. It does not name a sibling alternative (e.g., checkpoint) for snapshot-style recovery, so it stops short of explicit when-not guidance.

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