Skip to main content
Glama

Stop a crawl job

search_cancel_crawl
DestructiveIdempotent

Stop a site reading that is still running. Use when the user no longer needs a running site reading. Before: search_get_crawl to see it is still running. Returns status: cancelled (pages already read stay readable until they expire). Scope: search:query. Cost: free.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "7f1c2d3e-0000-4000-8000-000000000001"
    },
    "name": "search_cancel_crawl"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe crawl job id returned by search_start_crawl.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description goes beyond them by defining the blast radius ('pages already read stay readable until they expire'), the exact return status ('cancelled'), the required scope ('search:query'), and the cost ('free'). That is the concrete 'what gets affected' information an agent needs before a destructive call.

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?

Roughly five short clauses, front-loaded with the action and the trigger, then labelled 'Before:', 'Returns', 'Scope:', 'Cost:'. No filler sentences and no repetition of the title.

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

Completeness5/5

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

For a single-parameter destructive stop action with no output schema, the description covers trigger condition, prerequisite check, resulting state, retained side effects, auth scope, and cost. Nothing material is left for the agent to guess.

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 100% and the id property already documents that it is the crawl job id returned by search_start_crawl, including a UUID pattern and example. The description adds no id formatting or sourcing detail beyond that, so the schema carries the full load and the baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('Stop a site reading that is still running') and names the precondition state ('still running'), which cleanly separates it from search_get_crawl (inspect) and search_start_crawl (create). An agent can pick this out without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ('Use when the user no longer needs a running site reading') and an explicit prerequisite/alternative step ('Before: search_get_crawl to see it is still running'). This is when-to-use plus routing, not mere implication.

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.