Skip to main content
Glama

MapBulk

Cancel search

cancel_search
Destructive

Cancel an owned campaign, preserve collected leads and release its unused reservation.

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": {
      "search_id": "<search_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "cancel_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
search_idYes
idempotency_keyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

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 flag destructiveHint=true and readOnlyHint=false, so the safety profile is declared. The description goes beyond that by disclosing concrete effects: collected leads are preserved and only the unused reservation is released. That materially changes an agent's risk calculus. It stops short of saying whether cancellation is reversible or what happens to in-flight jobs.

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?

One front-loaded sentence with zero filler; the action comes first and the side effects follow. Nothing is wasted or repeated from the title.

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?

An output schema exists, so return values need no explanation, and the post-conditions are well covered. However, for a destructive mutation with completely undocumented parameters, the missing idempotency and ownership semantics leave a real hole an agent must guess at.

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 of the two required parameters is explained. The description never says that search_id must identify an owned search, nor that idempotency_key makes retries safe (a critical detail for a destructive call). The only hint is the word "owned", which is thin compensation for a full documentation 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?

Names a specific verb (cancel) plus the resource (an owned campaign/search) and states two post-conditions. It clearly differs from siblings like retry_search or get_search_results. Minor friction: the tool is named cancel_search but the description says "campaign", leaving an agent to infer they are the same object.

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 word "owned" implies a precondition (you may only cancel searches you own), which is useful context. But there is no explicit when-to-use versus when-not guidance and no mention of alternatives such as retry_search for a failed search versus cancelling it outright. Usage is only implied.

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.