Skip to main content
Glama

Approveit

Cancel a request

cancel_request
Destructive

Cancel an approval request the user submitted. Stops the approval process and notifies approvers. Confirm with the user first. Two-step: call with confirmed=false (the default) first for a preview with NOTHING cancelled yet; call again with confirmed=true to cancel it.

Input Schema

NameRequiredDescriptionDefault
confirmedNofalse (default) returns a preview of what would be cancelled and does NOTHING. true cancels it. Preview, show the user, wait for their yes, then call again with true.
ar_identifierYesThe approval request to cancel — friendly number like 'AR-15' / '15' or the internal integer id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds substantive detail beyond them: the approval process is stopped, approvers are notified, and the default call cancels NOTHING. The explicit "NOTHING cancelled yet" wording is exactly the safety context an agent needs before a destructive call.

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 short sentences, front-loaded with the purpose before the safety procedure. The two-step explanation is repeated almost verbatim in the confirmed parameter's schema description, which is a minor redundancy but not harmful.

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

Completeness5/5

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

For a two-parameter destructive tool with full schema coverage and no output schema, the description covers purpose, side effects, recipient notification, and the mandatory confirmation sequence. Nothing needed to invoke it safely is missing.

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 coverage is 100% and the confirmed parameter is already fully documented in the schema, including the preview-then-confirm sequence. The description reinforces the two-step flow but adds no syntax or format detail beyond what the structured fields already provide, so baseline 3 applies.

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 the user submitted) and immediately scopes it to the submitter's own request, which separates it from approve_request and reject_request in the sibling list.

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 explicit procedural guidance: confirm with the user first, then preview with confirmed=false before cancelling with confirmed=true. The one gap is that it never contrasts this with reject_request, which an agent could reasonably confuse with cancellation.

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