Skip to main content
Glama

Roll back to a version

rollback
Destructive

Put an earlier version live again: the previous one by default, or a specific version number. Starts a deploy, which runs on its own.

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": {
      "serviceId": "<serviceId>"
    },
    "name": "rollback"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNo
serviceIdYesthe id of a service on this account

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / serviceId / description
      Previous value: -"the service id from list_services"New value: +"the id of a service on this account"
  2. First observed

TDQS

A3.9/5.0
Behavior4/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 known. The description adds real context beyond that: the rollback starts a deploy that runs asynchronously on its own, telling the agent to poll rather than expect an immediate result. It stops short of saying what happens to the currently live version or whether traffic is interrupted.

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, no filler, with the core action and its default front-loaded ahead of the async note.

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?

Output schema exists, so return values need no explanation, and the async deploy note covers the main operational unknown. For a destructive mutation it could still mention the effect on the live site (downtime, overwriting the current version) to be fully complete.

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 50%: serviceId is documented, version is not. The description compensates by explaining that version is optional and omitting it selects the previous version, which is exactly the semantic the schema lacks. It does not clarify version numbering or where valid values come from (list_versions).

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+resource: put an earlier version of a service live again. It also defines the default target (the previous version) versus an explicit one, which separates it from deploy/redeploy. It does not name a sibling, so it falls just short of the top band.

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?

The default-to-previous-version behavior implies when this is the right call versus deploy or redeploy, but no alternative or exclusion is stated explicitly. An agent must infer that redeploy (same version) and deploy (new code) are the other options.

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