Skip to main content
Glama

Veltake Studio

Undo what a turn changed

undo_turn
Destructive

Revert what a turn changed OUTSIDE the canvas — cuts it created or edited, voiceovers or music it placed, notes it wrote, shots it filed — each only while it is still what the agent wrote. A canvas proposal never lands without apply_turn, so it needs no undo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
turn_idYesfrom send_message or get_chat

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds genuinely new behavioral semantics beyond that: the undo is conditional and per-item, reverting each change 'only while it is still what the agent wrote', which tells the agent partial/stale reverts are possible. It omits any auth requirement or reporting of partial success.

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 sentences, front-loaded with the core action and scope; the artifact enumeration is dense but each item earns its place by defining the scope boundary. No filler or restatement of the title.

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 single-parameter mutation with no output schema, the description covers scope, conditional behavior, and the relationship to apply_turn. It could still say what a partial revert looks like to the caller, but nothing essential prevents correct invocation.

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 the single parameter's provenance ('from send_message or get_chat') is already documented in the schema. The description adds no syntax, format, or validation detail for turn_id, so this is the baseline case where the schema does the work.

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 ('Revert') and a precisely scoped resource ('what a turn changed OUTSIDE the canvas'), then enumerates the affected artifact types. It also distinguishes itself from the sibling apply_turn by explaining that canvas proposals are not landed without apply_turn and therefore need no undo here.

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 a clear when-to-use condition (revert turn changes outside the canvas) and a when-not-to condition (canvas changes, which require apply_turn to land at all). It does not discuss the sibling recovery tools retry_turn/stop_turn or warn about irreversibility, so it stops short of full alternative routing.

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