Skip to main content
Glama

Human Approval Gate

Cancel Pending Approval Request

approval_cancel_request
Destructive

Free cancellation of a pending approval ticket so its review link immediately stops working.

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": {
      "ticket_id": "<ticket_id>",
      "poll_token": "<poll_token>"
    },
    "name": "approval_cancel_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
ticket_idYesApproval request ID returned by approval_request_signoff (format: hag_<20 hex chars>).
poll_tokenYesSecret poll token returned to the requesting assistant (format: apoll_*).

Output Schema

NameRequiredDescriptionDefault
okNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=false; the description adds that cancellation is free and immediately invalidates the review link, which is a valuable side effect. It still omits token/auth requirements and what happens to underlying ticket data.

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?

A single front-loaded sentence with no wasted wording; the key effect on the review link is stated directly.

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?

With two fully schematized required parameters, an output schema, and annotations covering safety, the description supplies the main behavioral consequence. The remaining implicit detail around poll_token secrecy is adequately covered by the schema.

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%, so ticket_id and poll_token are fully documented by the schema. The description adds no parameter-level meaning beyond what structured data provides, making the baseline 3 appropriate.

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 action (cancel), resource (pending approval ticket), and consequence (review link stops working), so the tool's job is clear. It does not explicitly contrast with siblings such as submit_decision or verify_decision, which keeps it from a 5.

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?

Implies use for pending approval tickets, but does not state explicit when-not conditions, prerequisites, or alternatives such as using submit_decision to reject the request. Usage is inferable but not fully guided.

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