Skip to main content
Glama

Rollback

rollback
Destructive

Redeploy an earlier successfully deployed commit: a new commit copying its tree, then the deploy. Never counts as a code change.

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

Input Schema

NameRequiredDescriptionDefault
appYesThe app slug.
shaYesAn earlier successfully deployed sha: the new commit copies its tree.
waitNoWait for the deploy (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag this as destructive, non-idempotent, and open-world, so the description's added value is explaining what the mutation actually does: it creates a new commit copying the tree and then deploys, and explicitly does not count as a code change. That is real behavioral context an agent could not derive from the hints, though nothing is said about confirmation needs, failure modes, or the resulting state.

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 compact clauses with zero filler; the mechanism is front-loaded right after the verb and the side-effect caveat is stated once. Nothing is repeated from the schema.

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 three-parameter mutation tool with full schema coverage and no output schema, the description covers mechanism and side effects adequately. The remaining gap is practical: how to find a valid earlier sha and what the call returns or how to follow the deploy.

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 app, sha, and wait are already documented in the schema, including the sha constraint. The description restates the sha constraint but adds no syntax, format, or interaction detail beyond the schema.

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?

Names a specific verb (redeploy) and a precise resource (an earlier successfully deployed commit), and the clause 'a new commit copying its tree, then the deploy' explains the mechanism so an agent can distinguish it from commit/ship. It does not name a sibling explicitly, which keeps it short of a 5.

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?

'Earlier successfully deployed' implicitly scopes when this applies, but there is no explicit when-to-use versus commit, ship, or restore_backup, and no guidance on where to obtain a valid sha (e.g., history/deploy_status). Usage is inferable rather than stated.

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.