Skip to main content
Glama

Kiescy

Restore a version

rollback_document

Restores an older version as the current draft (doesn't publish). Only call after the user asked for it.

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": {
      "type": "<type>",
      "version": "<version>",
      "user_confirmed": "<user_confirmed>"
    },
    "name": "rollback_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes
versionYes
user_confirmedYesThe user explicitly asked to restore this version

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds the useful context that the restore lands in the draft state and does not go live. However, it never says what happens to the existing draft content (overwrite? recoverable? version history entry?), which is the key behavioral question for a rollback on a non-destructive-annotated tool.

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 short sentences, zero filler, with the state outcome stated before the invocation constraint. Nothing could be cut without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation with no output schema, the definition covers the state transition and the confirmation gate but leaves the effect on existing draft content, error behavior for invalid versions, and the meaning of the type enum unaddressed. It is adequate to avoid misuse but not enough to call confidently.

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 only 33% — just user_confirmed is documented — yet the description never mentions the type or version parameters. "an older version" loosely implies the version argument, but the 11-value type enum and the required/positive-integer constraints on version get no explanation beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Restores an older version as the current draft") and immediately scopes it with "(doesn't publish)", which separates it from publish_document. It stops short of naming the sibling it complements, but the carve-out is enough to distinguish it.

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?

"Only call after the user asked for it" is an explicit precondition that rules out proactive invocation, and "doesn't publish" implies the alternative for going live. What's missing is a named alternative and any note on when restoring is appropriate versus compare_versions or preview_document.

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