Skip to main content
Glama

deployment_retry

Destructive

Ship an ended Deployment's commit and settings again; an older one rolls back newer ones. A human approves every redeploy. May stop to ask a human to approve.

Input Schema

NameRequiredDescriptionDefault
projectNoProject name.
versionNo
approvalNoThe ID of an approval a person granted. Send it when calling this tool again after it answered approval_required.
deploymentNoThe Deployment's number. Omit for the latest.
environmentNoEnvironment name, e.g. staging.
request_keyNo
accept_volume_lossNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so safety is partly covered. The description adds real behavioral context beyond that: every redeploy is human-approved and the call may pause to return an approval_required-style response, matching the approval parameter. It omits, however, any mention of the volume-loss risk implied by accept_volume_loss.

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?

Three short, front-loaded sentences with no wasted framing. The approval message is stated twice in slightly different words ('A human approves every redeploy' / 'May stop to ask a human to approve'), which is minor redundancy rather than bloat.

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 7-parameter destructive tool with no output schema, the approval flow is well explained, but the definition leaves out what a successful retry returns, what stays versus changes on the target environment, and the volume-loss caveat. It is adequate but not complete enough for an agent to act without reading the schema closely.

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 coverage is 57%, leaving version, request_key, and accept_volume_loss undocumented in the schema. The description clarifies the semantics of the deployment parameter (older versus newer, rollback effect) but says nothing about accept_volume_loss, which is the most consequential parameter for a destructive retry.

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 verb phrase 'Ship an ended Deployment's commit and settings again' names both the action (redeploy) and the resource, with the 'ended' constraint that separates it from deploy/deployment_start. It does not explicitly name the sibling it supersedes, but an agent can still tell it apart from a fresh deploy without reading either schema.

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?

'An older one rolls back newer ones' gives a concrete rule for which deployment to choose, which is genuinely useful selection guidance. However, it never states when to prefer deployment_start or deploy instead, nor does it spell out prerequisites (e.g., project/environment must exist).

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.