Skip to main content
Glama
This connector has been deprecated

Cancel approval

browser_cancel_approval

Withdraw a pending approval the agent requested. Required: sessionId, approvalId from APPROVAL_REQUIRED or APPROVAL_PENDING. The waiting command fails; this is not a human Deny.

Input Schema

NameRequiredDescriptionDefault
sessionIdYes
approvalIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Goes beyond the annotations (which only declare the mutation/safety profile) by stating the concrete consequence: the waiting command fails. That is exactly the kind of downstream effect an agent needs before invoking a non-read-only, non-idempotent tool. It does not say what happens on a second cancel or what the response contains, keeping it at 4.

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 requirements, then the behavioral consequence. Nothing is redundant with the title or annotations.

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 mutation with no output schema, the description covers action, prerequisites, parameter provenance, and the observable side effect (the waiting command fails). An agent has everything needed to decide and call it correctly.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry the load — and it partly does by naming both required parameters and, crucially, telling the agent where approvalId comes from (APPROVAL_REQUIRED or APPROVAL_PENDING). sessionId is only implied (browser session), leaving a small gap from a 5.

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?

Uses a specific verb+resource pair ('Withdraw a pending approval') scoped to approvals the agent itself requested. It also explicitly distinguishes the action from a human Deny, which no sibling tool name conveys. It is not quite a 5 because it doesn't name a sibling tool as the alternative path.

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 clear conditions: only for pending approvals that the agent requested, identified by APPROVAL_REQUIRED or APPROVAL_PENDING. The 'this is not a human Deny' clause steers the agent away from a wrong mental model. No explicit exclusion against simply continuing to wait, so it stops short of a 5.

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