Skip to main content
Glama

Rollback a Workload

rollback_workload
Destructive

Put a workload back on its previous image (the one its deployments ran before the current one, or the image passed), then wait up to 40 seconds for it to be ready. Only the image changes; env and everything else stay. Get approval first: it replaces the running version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gvcYesGVC slug. If the user named none, list_resources (kind "gvc") and let them choose.
orgNoOrganization slug.
nameYesWorkload to roll back.
imageNoImage to go back to. Default: the image the workload ran before the current one.
waitSecondsNoSeconds to wait on the server until the workload is ready on the previous image, 0 to 45. The call returns as soon as it is, or with the latest state when the time runs out. Use this instead of calling again and again.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataNoThe full result. Read this, not only the summary.
detailsNo
summaryYes
nextStepsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructive=true and non-idempotent, so the safety profile is covered; the description adds real value by scoping the blast radius ("only the image changes; env and everything else stay"), stating the wait behavior, and warning that it replaces the running version. Minor imprecision: it says 40 seconds while the schema allows up to 45.

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?

Three tight sentences, front-loaded with the core action and its scope, followed by the mutation consequence. Every sentence carries information the agent needs; no filler.

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?

An output schema exists so return values need no exposition, and annotations cover the safety profile. The description covers what changes, what is preserved, approval requirement, and waiting behavior. The only gap is the 40s/45s mismatch, which could cause an agent to under-set waitSeconds.

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 the image default and waitSeconds semantics are already documented in the schema. The description restates image/default and wait intent without adding new syntax or constraints, so the baseline 3 applies.

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 (rollback) and resource (workload) plus the precise mechanism: revert to the image the previous deployment ran, or an explicit image. This distinguishes it clearly from siblings like update_workload and promote_workload.

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

Usage Guidelines4/5

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

Gives a clear directive to obtain approval first because it replaces the running version, and notes the 40-second readiness wait. It does not name or contrast against sibling tools (e.g., update_workload, restart_workload) that might be confused with it, so it falls short of a 5.

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.