Skip to main content
Glama

compute_cancel

Destructive

Stop a job this account sent.

Input Schema

NameRequiredDescriptionDefault
job_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / job_id / properties
      Removed value: -null
  2. Changed1 schema field changed
    • addedInput schema / properties / job_id / properties
      Added value: +null
  3. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is known. The description adds the meaningful ownership restriction (only jobs this account submitted), which is genuinely new information. It does not, however, state whether cancellation is reversible, what happens to partial output, or whether the job can be resubmitted.

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 short sentence with no filler and the scope constraint front-loaded. It is terse to the point of under-specification, but nothing is wasted or buried.

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 destructive, non-idempotent mutation with no output schema and no parameter documentation, the description is too thin: it omits irreversibility, permission/ownership failure modes, and how to obtain a valid job_id. Annotations cover safety hints but not operational consequences.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% for the single job_id parameter, so the description must compensate and largely does not. It implies the identifier refers to a job this account submitted but gives no format, no source (presumably returned by compute_submit), and no guidance on locating a valid id.

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 ('stop') and resource ('a job'), plus a scope qualifier: only jobs 'this account sent'. That distinguishes it from host_stop/code_stop which target other resources, though the sibling differentiation is by inference rather than explicit naming.

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?

No statement of when to use this versus compute_status, compute_logs, code_stop, or host_stop. The 'this account sent' phrase is an ownership constraint on the target, not guidance on when cancellation is appropriate or what preconditions to check first.

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