Skip to main content
Glama

Approval Link — Quotes and Proofs

Cancel approval

cancel_approval
Destructive

Cancel a direct approval request and record why it was cancelled.

Input Schema

NameRequiredDescriptionDefault
idYes
reasonYes
expectedRowVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the write/destructive nature is covered. The description adds that a cancellation reason is persisted as part of the operation, which is genuinely new context, but it omits key behavioral facts such as whether already-decided approvals can be cancelled and whether cancellation 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single tight sentence with no filler and the action front-loaded. It is efficient, though the brevity comes at the cost of missing detail rather than trimming redundancy.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation with no output schema, no schema descriptions, and three required parameters including an unexplained optimistic-concurrency token, the description leaves substantial gaps. It should at minimum explain the state precondition and the meaning of expectedRowVersion.

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%, so the description must carry the parameter burden, and it only vaguely gestures at 'why' (reason). It says nothing about the required id or the expectedRowVersion concurrency token, whose purpose an agent cannot infer from the schema alone.

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 and resource (cancel an approval request) and adds the side effect of recording a reason. The qualifier 'direct' is unexplained and there is no explicit differentiation from siblings like get_approval or list_approvals, but the action itself is unambiguous.

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

Usage Guidelines2/5

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

No statement of when this tool should be used, what state the approval must be in (pending vs already decided), or which sibling to reach for instead. The agent must infer everything about applicability from the name alone.

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