Skip to main content
Glama

Stop the production line

cancel
DestructiveIdempotent

Stops a project's production: the line stops taking stations (drive → manual) and every run still alive (script, build, final render) is marked cancelled. Honest limits, declared in the answer per run (reach): no new call to a provider starts for a cancelled run (a call already in flight finishes), a build's scene authors stop before their next model turn, a worker already inside a step is not interrupted but does not overwrite the cancel, and nothing is chained after it until production is resumed (what was made is kept and reused). Money already spent is spent, and nothing is deleted — production resumes later from what exists. Idempotent. Requires write. $0.

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": {
      "project_id": "<project_id>"
    },
    "name": "cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoOptional: why (kept on the cancelled runs).
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations (idempotent, destructive, not read-only) by spelling out exactly what stops and what does not: no new provider calls start, in-flight calls finish, scene authors stop before their next model turn, a worker mid-step is not interrupted but cannot overwrite the cancel, and nothing is chained until resume. It also discloses permission requirements ('Requires `write`'), cost ('$0'), that money already spent is not recovered, and that nothing is deleted — genuinely useful context that the annotations alone could not convey. The `reach` field in the answer is named, partially compensating for the absent output schema.

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 before the caveats, and every clause carries real behavioral information rather than filler. It is dense, heavy on parentheticals, and could be broken into shorter sentences, but nothing is redundant enough to cut outright.

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 mutation tool with no output schema, the description covers effects, irreversible-but-non-destructive behavior, permissions, cost, idempotency, and partial-execution limits. An agent has everything needed to decide to call it and to set expectations about the result without a return-value schema.

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?

The one described parameter, reason, is covered only by the schema itself; the description adds no meaning to project_id, which is the required parameter and has no schema description. It does explain a return-value field (`reach`) per run, but that is output semantics rather than input meaning. With 50% schema coverage, the baseline of 3 is appropriate.

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 concrete verb and resource ('Stops a project's production') and immediately defines the mechanical effect — the line stops taking stations (drive → manual) and all live runs are marked cancelled. That is specific enough to separate it from siblings like discard_draft or close_channel, which concern drafts and channels rather than a project's production line.

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

Usage Guidelines3/5

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

Use context is implied rather than stated: it makes clear this is a stop (not a delete) and that 'production resumes later from what exists,' which hints at when it is appropriate. However, it never names an alternative tool or an explicit 'use this when / do not use this when' condition, leaving the agent to infer routing against siblings such as discard_draft or regenerate_from_source.

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