Skip to main content
Glama

Outbox: restore a version

outbox_rollback
DestructiveIdempotent

Restores a page to a previous version from its version history, making that content the current published version that readers see.

Instructions

Restores a page to a previous version; the restored content becomes the current version. Changes what readers of the page see.

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": {
      "slug": "<slug>",
      "to": "<to>"
    },
    "name": "outbox_rollback"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesVersion number to restore (from outbox_versions)
slugYesPage slug/path; hierarchical paths are allowed (e.g. 'briefings/today')
userNoPage owner username (default: the connected account)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered structurally. The description adds genuinely new behavioral context: the rollback changes the live page content and therefore alters what readers see. It does not say whether the replaced version remains recoverable or what auth level is required.

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, front-loaded with the action and followed by the consequence. Nothing is redundant or 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 destructive mutation with no output schema, the description conveys the core effect and reader impact, and annotations supply the safety flags. The remaining gap is whether history is preserved after a rollback, which matters for an agent deciding whether to confirm with a user first.

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 100%, with each of the three parameters (slug, to, user) documented in-schema, including the pointer to outbox_versions for version numbers. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

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 a page to a previous version') and clarifies the resulting state ('the restored content becomes the current version'). It does not explicitly contrast with outbox_versions, which the schema references as the source of version numbers, so the sibling boundary is only implicit.

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

Usage Guidelines3/5

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

Usage is implied by the action: revert a page to an earlier version. There is no explicit when-to-use/when-not guidance, no mention of checking outbox_versions first to obtain a valid version number (that hint only appears in the schema), and no statement about permissions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.