Skip to main content
Glama

SignOps

Cancel an approval

cancel_approval
DestructiveIdempotent

Cancel a pending approval request.

Input Schema

NameRequiredDescriptionDefault
idYesThe approval id, apr_...

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds the meaningful constraint that only *pending* approvals can be cancelled, but omits what happens on a non-pending id, whether the cancellation is recoverable/re-requestable, and any error behavior.

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 short sentence with zero waste and the key scope word front-loaded. It is efficient, though arguably so terse that structure/front-loading does little work.

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 one-parameter tool with annotations covering destructiveness and idempotency, the basics are present. Still missing are the practical edge cases an agent would want: behavior on non-pending approvals and whether the request can be recreated afterwards.

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?

Only one parameter and schema coverage is 100%, with the schema itself documenting the 'apr_...' id format. The description adds no further semantics beyond the schema, so baseline 3 applies.

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 (approval request) plus a scope qualifier (pending). An agent can distinguish it from cancel_push by resource alone, though it never explicitly names or contrasts any sibling.

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 word 'pending' implies the precondition that only pending approvals are cancellable, which is a usable usage cue. However, it gives no guidance on alternatives (e.g., get_approval to verify state first) or what to do for non-pending approvals.

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