Skip to main content
Glama

undo_last_change

Revert a CapCut draft to the previous backup to undo the last Claude-made change and restore the prior edit state.

Instructions

Откатить черновик к предыдущей резервной копии (отменить последнее изменение Claude).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "draft": "<draft>"
    },
    "name": "undo_last_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose meaningful behavior beyond the name: the tool restores a prior backup snapshot and is scoped to the last Claude change only. It omits critical operational detail – whether the rollback is itself reversible, what happens if no backup exists, and whether other users' edits are affected.

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?

One short sentence, front-loaded with the action and the outcome, with the scope qualifier in parentheses; nothing redundant. It is terse but not padded, though the switch to Russian while all surrounding metadata is English slightly reduces scanability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a state-mutating tool with no annotations and no output schema, the description should explain what the caller must supply and what they get back. It leaves the sole required parameter undocumented and says nothing about success/failure signals or the state after rollback.

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

Parameters2/5

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

Schema description coverage is 0% and the single parameter is just 'draft' typed as string with no explanation. The description never clarifies whether this is a draft ID, a name, or a path, nor the expected format, leaving the agent to guess a required argument.

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?

The description gives a specific verb and resource ('Откатить черновик' – roll back the draft) plus the target state ('к предыдущей резервной копии'), which is far more informative than the bare name. It implicitly contrasts with create_draft/inspect_draft by being a restore operation, though it never names a sibling.

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?

The parenthetical 'отменить последнее изменение Claude' implies the situation that calls for it (an unwanted Claude edit), which is useful usage context. However there is no explicit when-not guidance, no mention of alternatives such as inspect_draft to verify state first, and no prerequisites.

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