Skip to main content
Glama

revertTaskChanges

Destructive

PERMANENTLY discards every staged task and step change of the beta project, including changes staged by other managers in the Stomio app, and restores the staging area to match the live content testers currently see. The confirm discards exactly the staged set the preview was issued for: if the staged set changes between preview and confirm, the confirm fails and you must preview again. Nothing that is already live changes, and the discarded edits cannot be recovered. TWO-STEP TOOL: call it WITHOUT confirmationToken first — nothing changes and you receive a preview plus a confirmationToken. Show the preview to the user; only after the user explicitly approves, call again with the SAME arguments plus the confirmationToken. Tokens are single-use and expire after a few minutes.

Input Schema

NameRequiredDescriptionDefault
productIdYesID of the beta project to query. Get valid IDs from the listProducts tool.
confirmationTokenNoTwo-step confirmation token. Omit on the first call to receive a preview plus a token; then call again with the SAME arguments plus this token to execute. Single-use and short-lived.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, it discloses that the discard is irreversible, that it affects other managers' staged edits, that live content is untouched, that the operation is token-bound to the previewed set, and that tokens are single-use and short-lived. This is unusually rich behavioral context for a destructive mutation.

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?

The critical facts (permanent, irreversible, two-step) are front-loaded in caps, and the paragraph is dense with signal. It is a bit long and partly restates the schema's confirmationToken description, costing a point.

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?

With no output schema, the description still explains what the first call returns (a preview and a token) and what the confirm call does, plus the failure mode when the staged set changes. Nothing an agent needs to invoke this correctly is missing.

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; the description adds genuine meaning by explaining the confirmationToken's two-step, single-use, expiring nature and that the second call must use the SAME arguments, plus that productId targets the beta project's staging area.

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 states a specific verb and resource: it permanently discards every staged task and step change and restores the staging area to live content. It also scopes the blast radius (affects changes staged by other managers) and contrasts with the live state, which makes it easy to tell apart from commitTaskChanges.

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, explicit protocol: call without confirmationToken first, show the preview to the user, then call again with the same arguments plus the token after approval. It also states a failure condition (staged set changed → re-preview). It never names the commitTaskChanges alternative explicitly, which keeps it from a 5.

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