Skip to main content
Glama

Stop a search

stop_search
Idempotent

Discard an AI-owned local file search and all its retained 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": {
      "searchId": "<searchId>"
    },
    "name": "stop_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
searchIdYes
steerlatchDeviceNoOptional: name or deviceId of the computer that runs this action (from operatorlane_list_devices). Recommended when several computers are online or several conversations work at once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotent=true), and the description adds value by disclosing exactly what is lost: the search plus all retained results. That outcome disclosure — that results cannot be retrieved afterward — is the key behavioral fact an agent needs and is not in the annotations. It does not, however, say what happens if the searchId is stale or already stopped.

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?

A single front-loaded sentence with zero filler. The consequence-bearing clause ("and all its retained results") is placed where it is read first.

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 simple two-parameter teardown tool with no output schema this is close to adequate, but the required searchId's origin and the idempotent no-op behavior when the search is already gone are left to inference. One added clause would make it 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 only 50%: steerlatchDevice is documented in the schema, but the required searchId is only constrained to 36 characters with no meaning given anywhere. The description never mentions either parameter and does not say where a searchId comes from (presumably a prior start_search), so it fails to compensate for the coverage gap.

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?

States a specific verb and resource: "Discard an AI-owned local file search and all its retained results." The scope qualifiers ("AI-owned", "all its retained results") make it clearly distinct from start_search or get_more_search_results without needing to name them.

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 only implied by the verb "discard" — an agent can infer this is the teardown counterpart to starting a search. There is no explicit when-to-use statement, no guidance on when to call get_more_search_results before stopping, and no note on prerequisites such as having a live searchId.

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