Skip to main content
Glama

Restore a version

restore-version
Destructive

Use this after list-versions when the user picks an earlier version of their WebTwizz site to go back to. The current version stays in the history, so it can be restored again later.

Input Schema

NameRequiredDescriptionDefault
site_idYes
point_idYesA point_id from list-versions.
only_if_latestNoOnly restore if this is still the latest version (used by the card's Undo).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds useful reversibility context by saying the current version stays in history and can be restored later, but it does not address permissions or other side effects.

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 sentences, front-loaded with the usage trigger, and no filler. Every sentence carries information about when to use the tool or what it preserves.

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 restore tool with annotations and no output schema, the description covers the key action, dependency on list-versions, and reversibility. It could say more about site state or permissions, but the core decision information is present.

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 67%: point_id and only_if_latest are documented in the schema, while site_id is not. The description repeats that point_id comes from list-versions but adds no parameter-level meaning beyond what the schema already provides.

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?

The description states a specific action: restoring an earlier version of a WebTwizz site. It clearly distinguishes the tool from list-versions, which supplies the version to restore, so an agent can tell what it does without opening the schema.

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?

It explicitly says to use this after list-versions when the user selects an earlier version, giving a clear trigger and dependency. It does not state when not to use it or name a competing restore path, so it falls short of full when/when-not guidance.

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