Skip to main content
Glama

Request queue cancellation

cancel_job
Destructive

Request cancellation of a queued job using its model and request IDs. Note that cancellation may not stop processing or refund credits.

Instructions

Confirmed native cancellation request. Cancellation receipt is not proof processing stopped or credits were refunded; current provider state controls eligibility. No retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoExact configured isolated API-key profile label.
confirmNoExplicit approval for the requested paid work, mutation, upload or private file.
model_idYesExact current catalog endpoint ID. Never guess model names or parameter mappings.
request_idYesExact queue receipt ID; status/result/cancel use its owner/app root, without inference subpaths.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior4/5

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

The description adds real behavioral context beyond the annotations: the receipt is explicitly not proof that processing stopped or credits were refunded, eligibility depends on current provider state, and retries should not be attempted. This meaningfully supplements destructiveHint=true and idempotentHint=false, though it omits any note on permissions/auth or what happens to already-consumed work.

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 tight sentences, front-loaded with the action and immediately followed by the two caveats that matter most. Nothing is redundant, though the clipped phrasing borders on cryptic and could be slightly more explicit without adding length.

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 destructive, non-idempotent mutation with no output schema, the description supplies the key caveats an agent needs: it may not stop processing, refunds are not guaranteed, and retrying is discouraged. It does not mention the required confirm/account inputs or any failure modes, but the schema covers those.

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 description coverage is 100%, so the schema already documents model_id, request_id, account and confirm in detail. The description's 'Confirmed' wording loosely echoes the confirm flag but adds no syntax, format, or dependency meaning beyond the schema, making the baseline 3 correct.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase 'Confirmed native cancellation request' conveys that this cancels something, and the title 'Request queue cancellation' pins the resource to a queued request/job. However, the description never states a clean verb+resource ('cancels a submitted job') and gives no differentiation from siblings like delete_request_payloads or get_job_status, so the agent must infer the object of cancellation.

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 retry' and 'current provider state controls eligibility' imply when this call is appropriate and when repeating it is pointless, which is useful. But there is no explicit when-to-use vs alternatives guidance (e.g., cancel vs delete payloads vs just polling status), so the agent gets only fragments of routing logic.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.