Skip to main content
Glama

stop_search

Destructive

Cancel a search while retaining its results.

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": {
      "device_id": "<device_id>",
      "search_id": "<search_id>"
    },
    "name": "stop_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_idYes
search_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so safety is partly covered. The phrase "retaining its results" adds genuine behavioral context beyond annotations (the collected results survive the cancellation), but the description says nothing about permissions, repeat-call behavior despite non-idempotency, or how it differs from close_search in effect.

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?

One short sentence with the verb and the key behavioral nuance front-loaded; there is no filler. It is perhaps over-terse for a destructive two-parameter operation, but that is a completeness issue rather than verbosity.

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

Completeness2/5

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

For a destructive, non-idempotent cancel operation with two fully undocumented required parameters and no output schema, the definition is too thin. An agent cannot tell how to obtain valid IDs or how this differs from the close_search sibling, which is exactly the information a cancel tool needs to supply.

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 neither device_id nor search_id is mentioned in the description. The reader gets no hint that search_id likely comes from list_searches/start_search or what device_id scopes, so nothing compensates for the undocumented schema.

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 uses a specific verb and resource ("Cancel a search") and adds a scope qualifier ("while retaining its results"). It is clear what the tool does, but it never distinguishes itself from the sibling close_search, which an agent could easily confuse with this one.

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?

There is no guidance on when to use this versus close_search or letting a search finish naturally, no prerequisite or permission notes, and no statement about what happens if the search has already completed. The agent must infer all routing decisions from the name alone.

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