Skip to main content
Glama

Make an earlier version current again

restore_version

Bring back an earlier version of a page as a new version on the same review link. Nothing is deleted: every version and its comments stay in the version menu. Free pages keep up to 3 versions, so on Free this fails once a page has 3. Confirm the version number with the user first. To publish new edits instead, use update_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": {
      "page": "<page>",
      "version": "<version>"
    },
    "name": "restore_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional short note for that email.
pageYesWhich page: its name, its review link (/v/...) or its manage link.
versionYesThe earlier version to bring back, as shown by list_versions.
notify_reviewersNoEmail everyone who commented that a new version is ready. Ask the user first. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations: it explains that nothing is deleted and all versions plus their comments remain in the version menu, which materially qualifies destructiveHint=false. It also discloses a plan-dependent failure mode and that notify_reviewers sends email to commenters, both of which are side effects not visible in the structured fields.

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?

Four tight sentences, front-loaded with what happens and the non-destructive guarantee, then constraints, then the alternative. Every sentence carries either a behavioral fact or a decision rule; nothing is padding.

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 non-destructive mutation with no output schema, it covers reversibility, plan limits, notification side effects, and the sibling alternative. The only gap is what the call returns after success (e.g., the new version number or link), which matters slightly since no output schema exists to fill that in.

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 schema already documents all four parameters and the baseline is 3. The description adds genuine meaning beyond that by requiring user confirmation of the version number and by cautioning to ask before enabling the notification email.

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 (bring back an earlier page version) and pins down the resulting state: it becomes a new version on the same review link. The final sentence distinguishes it from update_page, so an agent can choose between restoring and publishing without opening either 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?

Gives explicit when-to-use (restore an earlier version), when-not (to publish new edits, use update_page), and a required interaction step: confirm the version number with the user first. It also names the plan-based failure condition (Free fails once a page has 3 versions), which is real routing information an agent needs.

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