Skip to main content
Glama

Revert a published update

revert_update
Destructive

Restore the page to the version stored before the update was published. part picks what to undo: "search" puts back the old title, H1 and meta description and keeps the new body; "content" puts back the old body (keeping the current H1) and keeps the new title and meta; "all" (the default) restores both. Public and immediate. Undoing every changed part marks the update reverted; undoing one leaves it published with that part marked reverted. Returns status and revertedParts. For published updates, and for flagged ones (an automatic revert that could not be pushed is retried here). A part the update never changed answers 422. Destructive: the first call returns a summary and a confirmToken; call again with confirmToken to proceed.

Input Schema

NameRequiredDescriptionDefault
partNosearch, content or all (default all)
siteYesThe site to act on. One of: fencestainingdenver.com.
updateIdYes
confirmTokenNoConfirmation token from a previous call of this tool with the same arguments. Omit on the first call to get a summary and a token.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / part
      Added value: +{
      +  "description": "search, content or all (default all)",
      +  "enum": [
      +    "search",
      +    "content",
      +    "all"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: 'Public and immediate', the confirmToken two-step flow with a summary on the first call, the resulting state change (fully reverted vs. still published with one part reverted), and the 422 failure mode. It is fully consistent with destructiveHint=true and idempotentHint=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?

Dense but nearly waste-free, front-loaded with what gets restored. The main structural weakness is that the confirmToken requirement — critical to invoking the tool correctly — is buried in the final sentence rather than stated before or alongside the destructive note.

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 names the return fields (status and revertedParts), covers error behavior, applicable states, and the confirmation workflow. An agent has everything needed to invoke this 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 75% and the schema only lists the enum values for `part`, but the description spells out exactly what each value restores (search = old title/H1/meta keeping new body; content = old body keeping current H1; all = both) and confirms the default. It also clarifies the confirmToken lifecycle beyond the schema's phrasing.

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+resource up front: restore the page to the pre-publish version. It also scopes applicability ('For published updates, and for flagged ones'), which implicitly separates it from the draft-side siblings like edit_update_draft, draft_update, and publish_draft.

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?

Gives clear usage context: published updates and flagged updates whose automatic revert could not be pushed. It also implies when the call is invalid (a part the update never changed answers 422). It never names an alternative sibling explicitly, so it stops short of the top band.

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.