Skip to main content
Glama

Go back

rollback
Destructive

Puts a kept site, or chosen pages of it, back to how they were at an earlier version. The result is saved as a new version, so no version is lost and a rollback can be undone by going back again; when nothing would change, no version is saved. If the site is published, it republishes by itself and readers see the restored pages, unless the site has already published as often as its plan allows that day or month, when it goes out on its own later. Only versions the site's plan lets it see can be chosen, by the numbers history lists. A writer on the site cannot roll back, and someone who looks after part of a site names those pages. It is for going back to a version; propose_edit makes a new change to a page.

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": {
      "to_version": "<to_version>"
    },
    "name": "rollback"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoWhich site: its name (like Acme Docs), its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted. Leave it out when this connection covers one site; when it covers several and site is left out, nothing is done and the answer names them. A preview is not one of these sites; draft_id names a preview.
pagesNoThe addresses of the pages to put back, like ["/pricing", "/guides/setup"], up to 500. A named page that did not exist at that version is removed; one that exists in neither version is refused. Leave it out to put the whole site back.
to_versionYesThe version number to go back to, as history lists it, like 4. A number that does not exist, or that is older than the site's plan lets it see, is refused, and the answer names the newest version, or the oldest one this site can go back to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / pages / description
      Previous value: -"The addresses of the pages to put back, like [\"/pricing\"]. Leave it out to put the whole site back."New value: +"The addresses of the pages to put back, like [\"/pricing\", \"/guides/setup\"], up to 500. A named page that did not exist at that version is removed; one that exists in neither version is refused. Leave it out to put the whole site back."
    • changedInput schema / properties / site / description
      Previous value: -"Which site: its name, its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted here. Leave it out when this connection covers only one site. A preview is not one of these sites; draft_id names a preview."New value: +"Which site: its name (like Acme Docs), its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted. Leave it out when this connection covers one site; when it covers several and site is left out, nothing is done and the answer names them. A preview is not one of these sites; draft_id names a preview."
    • changedInput schema / properties / to_version / description
      Previous value: -"The version number to go back to, as history lists it, like 4."New value: +"The version number to go back to, as history lists it, like 4. A number that does not exist, or that is older than the site's plan lets it see, is refused, and the answer names the newest version, or the oldest one this site can go back to."
  2. Changed3 schema fields changed
    • changedInput schema / properties / pages / description
      Previous value: -"Leave this out to put the whole site back. Name pages to put only those back."New value: +"The addresses of the pages to put back, like [\"/pricing\"]. Leave it out to put the whole site back."
    • changedInput schema / properties / site / description
      Previous value: -"Which site: its name or its address. Leave it out if this connection only covers one."New value: +"Which site: its name, its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted here. Leave it out when this connection covers only one site. A preview is not one of these sites; draft_id names a preview."
    • changedInput schema / properties / to_version / description
      Previous value: -"The version number to go back to, from the history."New value: +"The version number to go back to, as history lists it, like 4."
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: no version is ever lost, rollback is itself undoable, no version is written when nothing would change, and published sites auto-republish subject to plan rate limits. It also discloses the permission model and plan-visibility constraint on eligible versions, none of which appear in the annotations.

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?

Front-loaded with the core action, then consequences, then constraints, with no filler sentences. The multi-clause run-on covering republish and plan limits is dense and would read better split, but every sentence carries actionable information.

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 destructive, non-idempotent mutation with no output schema, the description covers reversibility, publishing side effects, permissions, and error outcomes comprehensively. It stops short of describing the shape of the success response, relying on hints like "the answer names them" instead.

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 coverage is 100%, so the baseline applies and the schema already documents site resolution, the 500-page cap, and page-removal refusal. The description adds only marginal meaning beyond that ("by the numbers history lists," the refusal naming the newest/oldest version), largely restating what the schema fields already say.

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 and resource ("puts a kept site, or chosen pages of it, back to how they were at an earlier version") and explicitly contrasts itself with propose_edit, which "makes a new change to a page." An agent can distinguish this from apply_edit, propose_edit, and publish without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Names the selecting alternative (propose_edit) and the condition that picks it, plus hard exclusions: "A writer on the site cannot roll back" and partial-site caretakers "name those pages." It also tells the agent how to choose a version number ("by the numbers history lists") and when to omit pages ("Leave it out to put the whole site back").

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.