Skip to main content
Glama

CharitySense Nonprofit Research

cancel_research

Request cancellation of your research job. Pass the exact ResearchID and private AccessToken returned by start_research; without a token the original client identity is required. Read data.Status for the job state; outer status describes the tool call. A running provider request may already have incurred cost.

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": {
      "research_id": "<research_id>"
    },
    "name": "cancel_research"
  }
}

Input Schema

NameRequiredDescriptionDefault
research_idYes
access_tokenNoPrivate AccessToken returned by start_research; authorizes cancellation of this job only.

Output Schema

NameRequiredDescriptionDefault
dataYes
errorYes
quotaYes
sourceYes
statusYesOutcome of this tool call and its bounded response, not the background research lifecycle. For research jobs, read data.Status: complete can accompany a queued, running or failed job.
coverageYes
evidenceYes
warningsYes
paginationYes
schema_versionYes
evidence_tokensYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnly=false, openWorld=true, destructive=false; the description adds real value by disclosing that cancellation is a request, that a running provider request may already have incurred cost, and that data.Status (job state) differs from the outer status (tool call outcome). It still omits idempotency behavior for an already-finished job and whether cancellation is guaranteed to stop billing, which would complete the picture.

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?

Three tight sentences, front-loaded with the action, then the credential requirement, then the status-reading and cost caveat. No filler, though the status/cost sentence is dense and could be split for scanability.

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

Completeness4/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 not be spelled out, and the description still usefully points the agent at data.Status. For a token-authorized mutation with cost implications, the definition covers what an agent needs, with only idempotency and guarantee-of-stop left unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only 50% schema description coverage, the description compensates: it says to pass the exact ResearchID, explains the AccessToken is the private one returned by start_research, scopes it to this job only, and describes the client-identity fallback. That is meaningfully more than the schema conveys for research_id, which has no description at all.

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 ('Request cancellation of your research job') and the word 'Request' correctly frames it as non-guaranteed rather than an immediate kill. It reads as the clear counterpart to start_research, though it never names a sibling explicitly.

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 implied rather than stated: you cancel a job you previously started, and it tells you the token must come from start_research. It gives a credential fallback ('without a token the original client identity is required') but no explicit when-not guidance, e.g. that get_research should be used instead if you only want to check state or that cancelling a finished job is pointless.

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