Skip to main content
Glama

flypod

Roll a site back to an earlier version

rollback_site
DestructiveIdempotent

Makes an earlier version of a site live again at the same URL. With no version_id it restores the version before the current one. get_site lists the versions available.

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_id": "<site_id>"
    },
    "name": "rollback_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesThe site_id returned by deploy_site, or listed by list_sites.
version_idNoThe version to make live. Omit for the previous version.
manage_tokenNoThe manage_token returned by deploy_site for this site. Needed while the site is temporary; not needed for a site that belongs to the signed-in account.

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, idempotentHint=true, and openWorldHint=true, so the safety profile is covered. The description adds the key behavioral fact that the selected version becomes live at the same URL and that omission restores the prior version, but it never says what happens to the currently live version or whether the rollback can be undone.

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, both front-loaded with the effect first and the default-plus-discovery pointer second. Every clause carries information an agent would otherwise lack.

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, idempotent mutation with no output schema, the description covers the effect, the default, and where to find valid version identifiers. The remaining gap is the fate of the current version and any confirmation/precondition behavior, which is minor given the destructive annotation.

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%, so site_id, version_id, and manage_token are already fully documented, including the 'omit for the previous version' default. The description restates the version_id default and adds nothing about manage_token scoping, so the baseline of 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 and resource with scope: 'Makes an earlier version of a site live again at the same URL.' That distinguishes it from deploy_site, duplicate_site, and update_site without the agent needing to open sibling schemas.

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?

Explains the default path when no version_id is given and points to get_site for discovering versions, which is actionable routing. It stops short of stating when to prefer rollback over deploying again, and offers no explicit exclusions.

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.