Skip to main content
Glama

undo

Reverts the last After Effects action via the Cmd+Z equivalent, undoing changes regardless of their source. Target a specific AE instance when multiple are connected.

Instructions

Trigger AE's Undo (Cmd+Z equivalent). Use cautiously — undoes the last AE action regardless of source.

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
instanceNoTarget a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does contribute a meaningful trait: the undo applies to the last AE action 'regardless of source', so an agent understands it may revert work done by another client or script. It stops short of stating whether the undo itself is reversible, what happens when history is empty, or whether anything is returned.

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, zero filler, with the action stated first and the caution immediately after. Nothing could be removed without losing information.

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?

A simple one-parameter, side-effecting tool with no output schema or annotations, and the description covers what it does and the main behavioral risk. Only minor gaps remain, such as the result of calling it when there is nothing to undo.

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 coverage is 100% and the single optional instance parameter is fully documented, including the omit-when-one-instance rule and a pointer to list_instances. The description adds no parameter meaning beyond that, so the baseline 3 applies.

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 action (undo) and maps it to a familiar equivalent (Cmd+Z), so an agent immediately knows what it does. It does not reference any sibling tool, but the operation is unambiguous on its own.

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?

'Use cautiously' signals risk but does not tell the agent when to prefer this over alternatives (e.g. any redo or history-navigation tool) or under what conditions to avoid it entirely. Usage is implied rather than specified.

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