Skip to main content
Glama

Go back to a version

rollback_app

Goes back to an earlier version of an app in the account by publishing it again as a new version; the history is kept. The data stays unchanged. Returns the new version.

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": {
      "appId": "<appId>",
      "version": "<version>"
    },
    "name": "rollback_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesThe app's short id, as returned by create_app or list_apps (e.g. "a-x7k2pq").
versionYesThe number of the version to go back to, as listed by get_app.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-destructive mutation, and the description adds real context beyond them: the rollback is implemented as a new publish, history is preserved, and existing data is untouched. It also notes the return is the new version. It does not cover permissions or whether the rollback takes effect immediately.

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 compact sentence chain that front-loads the action and then adds the mechanism, retention guarantee, and return value. Each clause carries information, though the semicolon-linked construction is slightly dense.

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 simple two-parameter mutation with full schema coverage and supplied annotations, the description covers what happens, what is preserved, and what is returned. Only side effects such as live-traffic impact or required permissions are left unstated.

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 both appId and version are already documented with examples and likely provenance. The description adds no additional meaning about the version argument or its constraints, so the baseline of 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 gives a specific verb and resource (roll back an app version) and explains the mechanism: republishing an earlier version as a new one. The phrase 'the history is kept' implicitly distinguishes it from delete_version, but no sibling is named explicitly.

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?

Usage is implied rather than stated: an agent can infer this is the tool for reverting to a known-good version, and that it is the non-destructive counterpart to delete_version. There is no explicit when-to-use / when-not-to-use guidance or named alternative.

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