Skip to main content
Glama

cancel_test

Destructive

Cancel your unfinished free test. Cannot cancel a completed report. Requires the same account or key that created the request.

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": {
      "test_id": "<test_id>"
    },
    "name": "cancel_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
test_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, consistent with a one-way cancellation. The description adds genuinely new behavior beyond those hints: ownership/authentication coupling to the original creator and a terminal-state guard against completed reports. It still doesn't say what a successful or failed cancellation returns or whether the action is reversible.

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?

Three short sentences, front-loaded with the action, then the disqualifying condition, then the auth prerequisite. No filler, no restatement of the tool name, and every sentence carries decision-relevant information.

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?

For a one-parameter mutation tool with annotations covering the destructive profile and no output schema, the description supplies the state and ownership constraints an agent needs before invoking. The remaining gap is outcome behavior (success/failure semantics, reversibility), which is minor at this complexity.

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

Parameters3/5

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

The single test_id parameter has 0% schema description coverage and is never mentioned in the description, so no format, sourcing, or validity guidance is added. The name is self-explanatory enough for a lone required string, which keeps this at a baseline 3 rather than lower.

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 your unfinished free test') and narrows the target with a state qualifier ('unfinished'), so the action is unambiguous. It does not explicitly contrast itself with siblings like get_test or request_test, but the verb choice makes the distinction obvious without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear when-not rule ('Cannot cancel a completed report') and a precondition ('Requires the same account or key that created the request'), which is more than most definitions offer. It stops short of naming what an agent should do instead when a report is already complete, so an explicit alternative path is missing.

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