Skip to main content
Glama

job_cancel

DestructiveIdempotent

Request cancellation of an existing generation job. Only confirmed cancellation can release reserved funds; running provider tasks may not be cancellable.

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": {
      "id": "<id>"
    },
    "name": "job_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesExisting generation job UUID.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description adds important behavioral context: only confirmed cancellation releases reserved funds, and running provider tasks may not be cancellable. This directly informs the agent about side effects and limitations, though it does not explain what a confirmed cancellation response looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two tight sentences with the primary purpose front-loaded and the key caveat following immediately. Every sentence earns its place without redundancy.

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

Completeness4/5

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

For a simple one-parameter mutation tool with annotations covering safety and idempotency, the description supplies the purpose and significant caveats about funds and provider tasks. It could more fully explain what 'confirmed cancellation' means operationally, but it is otherwise complete for the schema provided.

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 schema already fully documents the single required parameter as an existing generation job UUID, with 100% description coverage. The description does not add any syntax, format, or validation meaning beyond what the schema provides, so the baseline score of 3 is appropriate.

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 description states a specific verb and resource: request cancellation of an existing generation job. It is clear what the tool does, but it does not explicitly distinguish this from related siblings such as job_get or purge_job_outputs.

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?

The intended use is implied by 'Request cancellation of an existing generation job,' but there is no explicit guidance on when to choose this over alternatives like checking job status with job_get. The note about confirmed cancellation and reserved funds provides context, not a clear when-to-use rule.

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