Skip to main content
Glama

Undo your changes to a clip

undo_edit

Use this when the person wants to take back changes you (the person's AI) made to a clip with the edit tools, newest first, the same as Undo in the Slice editor. A storyboard moment taken off the clip (in the editor or by you) is undone here too: it comes back as it was (edit_id "moment:" from list true). With no edit_id or count it undoes the newest change; count undoes the newest n (up to 10); edit_id undoes back to and including that change. list true only lists the recent changes with their ids. Saves the clip only, no render.

Input Schema

NameRequiredDescriptionDefault
listNo
countNo
clip_idYesThe clip's id (from get_episode, get_job or the Slice link).
edit_idNo

Output Schema

NameRequiredDescriptionDefault
clip_idNo
open_in_sliceNoThe clip in the Slice editor, where the person sees the change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that the tool saves the clip but performs no render, that moments return 'as it was' with the moment:<id> handle, and that list=true lists rather than mutates. These are real behavioral facts an agent could not infer from readOnlyHint=false / destructiveHint=false.

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?

It is front-loaded with the when-to-use condition and the core undo semantics follow the dense parameter rules. It is slightly long and run-on with parentheticals, but nearly every clause carries operational meaning and nothing is padding.

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?

For a 4-parameter mutation tool, the description covers triggers, ordering, defaults, limits, the special moment case, and the save-vs-render side effect. With an output schema present, it does not need to explain return values, so an agent has everything required to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 25%, so the description carries the load: it defines the default behavior with no edit_id/count, the meaning of count (newest n, up to 10), the semantics of edit_id (undo back to and including), and list=true. That fully compensates for the undocumented parameters and even supplies the moment:<id> format.

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 ('take back changes you made to a clip with the edit tools') and pins down the ordering model ('newest first, the same as Undo in the Slice editor'). It also covers an edge case (restoring a removed storyboard moment), which is exactly what separates it from siblings like set_trim or set_frame.

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?

It gives an explicit trigger ('Use this when the person wants to take back changes...') and clarifies that list=true is a read-only listing mode rather than an undo. It doesn't name a sibling to use when the intent is to redo or inspect history, but the positive guidance is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources