Skip to main content
Glama

Undo

undo
Destructive

Reverts the last After Effects action or prior MCP tool call after a mistaken change; increase steps to roll back multiple actions.

Instructions

Undo the last action(s) in After Effects (Edit > Undo, command id 16). Every mutating MCP call is ONE undo step named 'MCP: ', so steps=1 reverts the whole previous tool call. Use after a mistaken change.

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
stepsNoHow many steps (default 1, max 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the safety profile is covered. The description adds genuinely non-obvious behavior: the MCP-call-to-undo-step mapping and the undo-stack entry naming convention. It omits whether redo history is discarded and whether undo is bounded by session history, which are relevant for a destructive tool.

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?

Three short sentences, front-loaded with the action, then the critical granularity detail, then the usage cue. No filler and nothing repeated from the schema or annotations.

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 one-optional-parameter tool with annotations and no output schema, the description covers what an agent needs to call it correctly. Remaining gaps (return value, redo-stack effect, behavior when fewer steps exist than requested) are minor but not zero.

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 baseline is 3, and the description adds real meaning on top: it explains that steps=1 reverts the entire previous tool call rather than a single host-level micro-action. That semantic mapping is not derivable from the schema's 'how many steps' wording. It doesn't say what happens on partial availability (e.g. fewer steps remaining than requested).

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?

Names a specific verb and resource ('Undo the last action(s) in After Effects') and pins it to the host command (Edit > Undo, command id 16). The key clarification that each mutating MCP call is exactly one undo step named 'MCP: <tool>' makes the tool's scope unambiguous to an agent.

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?

'Use after a mistaken change' gives clear situational guidance for when to reach for this tool. There are no plausible sibling undo/redo alternatives to route against, but it also states no exclusions (e.g. can't undo past session start, no redo sibling).

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