Skip to main content
Glama

Revert site version

revert_site_version
Destructive

Switch the live site back to an earlier version from its deployment history (the dashboard's Revert button). This REPLACES the current live version, so confirm with the user first.

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": {
      "site_name": "<site_name>",
      "version_id": "<version_id>"
    },
    "name": "revert_site_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_nameYesName of the site
version_idYesVersion to switch back to, from list_site_deployments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the safety profile is known. The description adds that the current live version is REPLACED and reiterates the confirmation step, which is useful but largely restates what destructiveHint implies; there is no detail on downtime, side effects, or rollback of the revert itself.

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, zero waste, with the destructive consequence front-loaded ahead of the confirmation advice. Every sentence earns its place.

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?

The tool is simple, both parameters are fully documented, and an output schema exists so return values needn't be explained. The description covers the essential risk and confirmation workflow; only tangential detail like post-revert propagation behavior is absent.

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 version_id is already documented as coming from list_site_deployments, setting the baseline at 3. The description's 'earlier version from its deployment history' meaningfully constrains version_id to the historic deployment set rather than arbitrary builds, adding a small amount of meaning beyond the schema.

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 ('Switch the live site back to an earlier version from its deployment history') and disambiguates by naming the dashboard Revert button. This is clearly distinct from redeploy_site and deploy_site among the siblings.

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?

Gives a concrete usage precondition ('confirm with the user first') and points at the source of valid version ids indirectly via the schema reference to list_site_deployments. It lacks an explicit contrast with redeploy_site, which is the nearest alternative, but the context is clear.

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