Skip to main content
Glama

cancel_request

Leave the simulator queue or decline a simulator held for you by providing the request ID.

Instructions

Leave the queue, or decline a simulator that is being held for you.

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": {
      "request_id": "<request_id>"
    },
    "name": "cancel_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it discloses very little: it does not say whether cancelling is irreversible, what happens to the request record afterward, whether it errors when no request is queued or held, or what the response looks like. Only the basic mutation intent is conveyed.

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 efficient sentence with the action front-loaded and no filler. The compressed 'or' construction is slightly ambiguous but avoids bloat, which is the right trade-off for such a simple tool.

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

Completeness3/5

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

For a one-parameter, no-output-schema mutation tool this covers the core intent, but with zero annotation coverage and zero schema coverage the agent is left without the request-id semantics or any post-condition of cancellation. It is minimally adequate rather than complete.

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 description coverage is 0% and the description says nothing about 'request_id' — not where to obtain it, whether it refers to a queue entry or a lease, or what happens with a stale id. The single required parameter is nearly self-explanatory by name, but with no schema documentation the description should have compensated and does not.

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 names two concrete actions and their objects: 'leave the queue' and 'decline a simulator that is being held for you', which tells an agent what the tool actually does beyond the opaque name 'cancel_request'. The only weakness is that it does not distinguish itself from the sibling 'release_simulator', which plausibly covers the same 'decline a held simulator' case.

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?

Usage is implied by the two scenarios named (you are in a queue, or a simulator is being held for you), but there is no explicit guidance on when to prefer this over 'release_simulator', 'check_request', or 'extend_lease', and no stated preconditions or failure cases.

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