Skip to main content
Glama

Research cancel

research_cancel

Request cancellation of an accepted research execution. In-flight usage can remain pending; retrying cancellation does not start new work.

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": {
      "request_id": "<request_id>"
    },
    "name": "research_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the mutation safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), so the bar is lower. The description adds genuine behavioral context beyond that: in-flight usage may remain pending and retries do not start new work. It still omits what a successful cancellation returns, whether partial results are discarded, and how this reconciles with idempotentHint=false.

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 core action, and both sentences carry information. The phrase 'in-flight usage can remain pending' is slightly elliptical about whether 'usage' means billing, quota, or execution state, but nothing is padding.

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 single-parameter mutation with no output schema, the description covers the essential action and one non-obvious side effect. It is not complete enough to tell an agent what a call returns, how errors surface for requests not in 'accepted' state, or how to follow up via research_status.

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 the description never mentions request_id, its UUID format, or which request it must identify (the accepted execution). The single parameter is inferable from the tool name and schema type, but the description does not compensate for the documentation gap as required at this coverage level.

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 (cancel) and resource (an accepted research execution), which is far more precise than a tautological restatement of the name. It does not name or contrast with the obvious sibling research_status, so sibling differentiation is left to inference.

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 'an accepted research execution' implies a state precondition (only accepted requests are cancellable), which is real usage guidance. However, there is no explicit when-to-use/when-not, no reference to research_status for checking progress, and no statement about what happens if the request is already completed or pending.

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