Skip to main content
Glama

Foundaree

Cancel an approval request

cancel_approval
Idempotent

Cancel an approval request that is still waiting, so its link stops working. Use it when the user no longer needs the answer. Get the id from check_approval.

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": {
      "id": "<id>"
    },
    "name": "cancel_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe approval id, from request_approval or check_approval.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, idempotent, closed-world, so the safety profile is covered. The description adds one genuinely new behavioral fact, that the approval link stops working, but says nothing about auth, error handling, or what happens if the request was already answered.

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 purpose and effect, then usage, then parameter provenance. No filler or redundancy.

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?

Adequate for a simple one-parameter mutation with full annotations and no output schema. The only meaningful gap is the outcome when cancelling an approval that is no longer waiting, which the precondition implies but never resolves.

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?

Schema description coverage is 100% and the single id parameter is fully documented in the schema. The description's 'Get the id from check_approval' is a routing hint rather than new semantic meaning about the parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Cancel an approval request') plus the precondition ('that is still waiting') and the observable effect ('its link stops working'). An agent can distinguish it from check_approval and request_approval from the text alone.

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?

Gives a clear when-to-use condition ('when the user no longer needs the answer') and tells the agent where to get the id ('Get the id from check_approval'). The 'still waiting' qualifier implicitly excludes already-answered approvals, but no explicit failure behavior for that case is stated.

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