Skip to main content
Glama

Ferrite

Cancel a deploy under way

cancel_deploy
DestructiveIdempotent

End a deploy or fork that is still under way, by the build_id it returned: use it when a deploy is waiting on capacity and you want the name back. Returns {{BuildState:{{...}}}}. state 'cancelled' means nothing of it landed, any fee it took is returned, your running application is untouched and you can deploy again; 'deployed' means its operation had already finished, so the version is registered and status says whether it has landed, and this ends no trial; 'undoing' means it cannot land and is still being cleaned up. A wait has no time limit of its own, so this is how you end one.

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": {
      "build_id": "<build_id>"
    },
    "name": "cancel_deploy"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNofallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused
build_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by enumerating the three resulting states and their consequences: 'cancelled' refunds any fee and leaves the running application untouched, 'deployed' is effectively a no-op because the version is already registered, 'undoing' means it cannot land. This is exactly the outcome detail an agent needs before invoking a destructive 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?

Front-loads the action and the build_id source, then spends the remainder on outcome states that genuinely matter. Sentences are long and clause-heavy, but no sentence is filler.

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?

With no output schema, the description carries the return value and does so explicitly ('Returns {{BuildState:{{...}}}}'), then decodes each state. For a destructive, idempotent mutation with an unclear parameter, nothing material 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 only 50%, and the undocumented required parameter build_id is given meaning ('by the build_id it returned'), telling the agent where the value comes from. The fallback token parameter is left to the schema, which already documents it fully.

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 and resource ('End a deploy or fork that is still under way') and ties it to the build_id returned by an earlier call, which cleanly distinguishes it from read-only siblings like status and deploy_history.

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 concrete triggering condition ('when a deploy is waiting on capacity and you want the name back') and explains that a wait has no time limit so this is the way to end one. No explicit when-not or named alternative, but the situational guidance is clear.

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.