Skip to main content
Glama

Undo

undo
Destructive

Reverts timeline edits such as razor cuts, trims, moves, and deletions in the active Premiere Pro project, with an optional count to roll back one or more changes.

Instructions

Send Edit > Undo to the active project, once or count times. It reverts timeline edits such as razor cuts, trims, moves and deletions, whether made by tools or by hand. Some scripted changes (for example creating a bin or a marker) are not recorded in Premiere's undo history and are not reverted. Premiere accepts the command even when nothing is left to undo, so read the state back afterwards. Returns steps (undo commands Premiere accepted) and requested. Use redo to reapply.

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
countNoHow many steps to undo, 1-20. Default 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that some scripted changes (bins, markers) bypass undo history, that Premiere silently accepts the command when nothing remains to undo, and that callers must verify state afterwards. These are non-obvious failure modes an agent could not infer from destructiveHint/openWorldHint alone.

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?

Six short sentences, front-loaded with the action and each carrying distinct information (revert scope, non-recorded changes, silent acceptance, return shape, alternative). Slightly long but nothing is filler; the return-value sentence is somewhat compressed.

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?

With only one optional parameter and no output schema, the description covers everything an agent needs: mechanism, scope, failure modes, return fields, and the follow-up tool. No meaningful gap remains.

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% and already documents `count` as 1-20 with default 1; the description restates 'once or `count` times' without adding format or edge-case detail. It also names the return fields (`steps`, `requested`), which is useful but not parameter semantics.

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?

States a specific verb and mechanism ('Send Edit > Undo to the active project, once or `count` times') and enumerates the exact edit types reverted (razor cuts, trims, moves, deletions). An agent can distinguish this from the sibling `redo` immediately.

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?

Names the alternative explicitly ('Use redo to reapply') and gives a clear condition for reading state back afterwards, plus the caveat that some scripted changes are not undoable. It lacks an explicit 'do not use when...' framing beyond the redo pointer, so it falls just short of a 5.

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

Deploy Server

Other Tools