Skip to main content
Glama

Roll back application

rollback_application
DestructiveIdempotent

Restore an application to its advertised rollback release and backup, replacing current app data after explicit approval and exact version checks, then poll installation events for the result.

Instructions

Queue the exact reverse transition advertised as type=rollback by get_application_installation. Read its release and backup, disclose replacement of current application data by that backup, and obtain explicit approval. Copy its blueprint_version and upstream_version as execution preconditions; arbitrary targets are refused. Poll installation and events for the final result. Reuse the same idempotency key and exact versions for an unchanged retry even after availability changes. Requires applications:manage.

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": {
      "orderNo": "<orderNo>",
      "installation_id": "<installation_id>",
      "idempotencyKey": "<idempotencyKey>",
      "confirmed": "<confirmed>",
      "expected_blueprint_version": "<expected_blueprint_version>",
      "expected_upstream_version": "<expected_upstream_version>"
    },
    "name": "rollback_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
confirmedYesTrue only after the user confirms this exact action
idempotencyKeyYesClient-global unique key for this exact lifecycle request. Reuse only for an unchanged retry.
installation_idYesManaged application installation UUID
expected_upstream_versionYesExact upstream_version from the advertised rollback release
expected_blueprint_versionYesExact blueprint_version from the advertised rollback release

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.21
    • addedInput schema / properties / installation_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  2. First observedv2.3.16

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond annotations by disclosing that current application data is replaced by the advertised backup, that explicit user approval is mandatory, that the caller needs applications:manage, and how idempotency keys must be reused on unchanged retries. The destructive and idempotent hints are consistent with this, and the extra operational detail is genuinely useful.

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?

Front-loaded with the core action and then ordered preconditions, approval, polling and retry rules; nearly every clause earns its place. The telegraphic imperative style is dense but readable, with only slight redundancy between the approval sentence and the confirmed parameter.

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

Completeness5/5

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

For a destructive, permissioned lifecycle operation with no output schema, the description covers prerequisites, data-loss disclosure, approval gate, execution preconditions, result polling and retry semantics. Nothing an agent needs in order to call it safely is missing.

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 100%, so baseline is 3, but the description adds cross-parameter workflow meaning: expected_blueprint_version and expected_upstream_version must be copied from the advertised rollback release, confirmed ties to explicit user approval, and idempotencyKey reuse is bounded to unchanged retries. It does not add format details, but the semantics beyond the schema are real.

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+resource ('Queue the exact reverse transition') and pins the scope to the target advertised as type=rollback by get_application_installation, which cleanly separates it from that sibling read tool and from cancel/restart actions. An agent knows precisely what transition this performs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Prescribes the required sequence: call get_application_installation, read the release and backup, disclose data replacement, obtain explicit approval, then queue. It also states a hard exclusion ('arbitrary targets are refused') and tells the agent to poll installation and events rather than assuming synchronous completion.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools