Skip to main content
Glama

cancel_crawl

Destructive

Cancel a running crawl job No additional credits; final crawl settlement includes partial successful pages.

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": {
      "job_id": "<job_id>"
    },
    "name": "cancel_crawl"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The description goes beyond the annotations usefully by disclosing billing behavior: no additional credits are charged and the final settlement bills partial successful pages. That is genuinely valuable context the annotations cannot convey. It does not, however, explain the irreversible consequence of the cancel given destructiveHint=true, nor whether partial results remain retrievable afterward.

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?

Two short sentences, front-loaded with the action and followed by the cost consequence; every clause carries information. The missing punctuation between the two sentences is a minor blemish that slightly hurts readability.

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 destructive, non-idempotent one-parameter mutation with no output schema, the description covers cost but not outcome: it does not say whether the job becomes unrecoverable or how to collect the partial pages it mentions. An agent can call it, but cannot fully predict the post-call state.

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 coverage is 0% for the single job_id parameter, so the description would ideally confirm the identifier is the one returned by start_crawl. The parameter name is self-explanatory and the schema marks it required, so the gap is small but real.

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?

'Cancel a running crawl job' names a specific verb and resource, and the word 'running' scopes it in a way that a bare 'cancel_crawl' would not. It is clearly separable from start_crawl and get_crawl_result, though the description never explicitly names those siblings.

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 phrase 'running crawl job' implies usage only applies to in-flight jobs, which is meaningful scoping. However, there is no explicit when-not guidance (e.g., what happens if the job already finished) and no pointer to get_crawl_result for retrieving partial output.

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.