Skip to main content
Glama

Roll back to a previous version

rollback_app
Destructive

Puts a previous version of an environment back online (the previous one by default, or to); the live version is replaced.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "rollback_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoThe target version number; without it, the previous active version.
waitNotrue: answers once done.
projectNoThe project.
approval_idNoApproval granted, when the organization requires an approval for a rollback in production.
environmentNoProduction or a preview.production

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

The destructiveHint annotation already warns that this is a destructive write, but the description adds the concrete consequence: the live version is replaced and the previous version goes back online. That is genuinely useful context beyond the annotations. It does not describe downtime, failure behavior, or the production-approval prerequisite, but the approval_id parameter documents that requirement.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler. The parenthetical '(the previous one by default, or to)' is slightly awkward and reads as a schema restatement, but it is brief and does not obscure the main action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter destructive rollback, the description covers the core effect and the schema covers all inputs, so an agent can invoke it correctly. It could say more about irreversible consequences and the production approval flow, but with full schema coverage the remaining gap is moderate rather than severe.

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 100%, so all five parameters, including defaults for wait and environment and the meaning of to, are already documented. The description restates the default behavior of to but adds no syntax, format, or constraint beyond the schema; baseline 3 applies.

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?

The description names a specific verb (puts back online / roll back) and resource (a previous version of an environment), so an agent can tell this reverts rather than deploys. It does not differentiate itself from siblings such as deploy_app or restore_backup, which is the only missing element for 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance, no prerequisites, and no named alternative for cases where the agent wants a fresh deploy (deploy_app) or a data restore (restore_backup). The only conditional information, that the previous version is used by default, duplicates the schema's default rather than helping select the tool.

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