Skip to main content
Glama

deployments.rollback

Roll a resource back to an authorized historical deployment.

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": {
      "resource_id": "<resource_id>",
      "deployment_id": "<deployment_id>"
    },
    "name": "deployments.rollback"
  }
}

Input Schema

NameRequiredDescriptionDefault
resource_idYes
deployment_idYestarget historical deployment identifier
organization_idNoorganization membership to use for this call; omit only when the account has one current membership

Output Schema

NameRequiredDescriptionDefault
messageYes
acceptedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare openWorldHint=false and destructiveHint=false, so the bar is lower, but the description adds little beyond the word 'authorized'. It does not say what happens to the current live deployment, whether the rollback is reversible, what permissions are required, or how long it takes — all relevant for a state-changing operation.

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 or redundancy. It is tight, though its brevity is part of why the usage and behavioral gaps exist.

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

Completeness2/5

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

For a mutation tool with an output schema present, the description still omits the essentials: when to choose it over sibling deployment operations, side effects on the current deployment, and permission requirements. The presence of an output schema excuses only the omission of return-value details.

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 67%, so the schema already documents deployment_id and organization_id. The description's 'historical' and 'authorized' qualifiers add marginal meaning for deployment_id, but resource_id remains unexplained in both schema and description. 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?

States a specific verb (roll back) and a clear object (a resource) plus the target (an authorized historical deployment). An agent understands the operation, but nothing distinguishes it from siblings like deployments.redeploy, deployments.restart, or databases.restore, which all touch similar state.

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?

The description offers no when-to-use guidance, no conditions or prerequisites, and never names an alternative such as deployments.redeploy or deployments.restart. The agent is left to infer when a rollback is appropriate versus a redeploy or restart.

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