Skip to main content
Glama

Restore a saved website version

soclo_page_restore
Destructive

Restore a selected History version (version_id from soclo_page_versions) without changing the live gate or address. Needs the displayed if_unchanged revision. Free. Without confirm:true it returns a preview only; pass confirm:true only after the owner approves. A lost write reply must be reconciled with soclo_page_get and soclo_page_versions before retrying.

Input Schema

NameRequiredDescriptionDefault
confirmNotrue only after the owner approved the exact change. Omit or pass false to get a preview: nothing is sent.
version_idYesThe exact version id returned by soclo_page_versions.
if_unchangedYesExact displayed site, page-list or History revision, as last read; never refresh it invisibly.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare destructive/non-idempotent/openWorld, and the description adds real context beyond them: default behavior is a preview with nothing sent, the live gate and address are untouched, the operation is free, and a dropped write reply must be reconciled rather than blindly retried. This is exactly the behavioral detail a mutating tool needs.

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 the action and its non-effects, then the safety gating, then the recovery rule. No sentence is filler.

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?

For a destructive, non-idempotent tool with no output schema, the description supplies the safety profile, the dry-run default, the approval gate, and the failure-recovery path an agent needs before invoking it.

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% and the schema descriptions already explain confirm gating, the uuid version_id origin, and the if_unchanged revision semantics. The description largely restates those (owner approval for confirm, if_unchanged as the displayed revision) without adding format or edge-case meaning, so baseline 3 applies.

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 (Restore) and resource (a selected History version) with explicit scope constraints: it does not change the live gate or address. The parenthetical pointer to soclo_page_versions makes the source of version_id unambiguous, separating it from sibling page-mutation tools.

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 conditions: dry-run by default, confirm:true only after owner approval, and reconciliation via soclo_page_get and soclo_page_versions before retrying after a lost write reply. Named alternatives and preconditions leave nothing to inference.

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