Skip to main content
Glama

Request approval

request_approval

Ask one or more approvers for an explicit yes or no before performing an action. Each approver gets an email and decides on a web page, confirming with a code sent to their email or with a passkey. Approvers are email addresses or names of people listed by the people tool. Addresses that asked not to receive requests from the workspace, or that reached the plan's daily limit per recipient, are skipped at no cost and listed in withheld; in mode all, if any approver would be skipped, nothing is sent. Returns a request_id immediately; the decision can be read with the inbox tool. For clients that support the MCP Tasks extension, the call returns a task that completes when the approval is decided.

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": {
      "approvers": "<approvers>",
      "action": "<action>"
    },
    "name": "request_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoany: the first approver to decide settles it; all: every approver must approve, and one rejection rejects.any
riskNoHow risky the action is. high is shown to the approver as a warning.low
actionYesWhat the agent will do if approved, in plain words, as the approver will read it.
detailsNoWhat changes, why, and how to undo it. Shown to the approver.
projectNoThe project label of the saved decision, when log_decision is true.
approversYesApprovers: email addresses, or names of workspace members and address book contacts (see the people tool).
log_decisionNotrue to save the outcome, approved or rejected, as a decision that recall finds, with who decided and their notes.
expires_in_hoursNoHours the approval stays open, from 1 to 720 (30 days). Default 24. After that it expires and nobody can decide.

Output Schema

NameRequiredDescriptionDefault
modeYes
riskYes
statusYes
withheldNo
approversYes
decisionsNo
expires_atYes
request_idYes
log_decisionNo
not_deliveredNo
credits_chargedNo
credits_refundedNo
credits_remainingNo
decision_entry_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only flag it as a non-read-only, open-world, non-idempotent call; the description goes far beyond that by describing delivery (email), the decision surface (web page plus code or passkey), recipient suppression rules, the withheld list, all-mode atomicity, and the immediate request_id return. The MCP Tasks extension note adds a non-obvious runtime behavior an agent could not infer from structured fields.

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?

Four dense sentences with the core purpose front-loaded and no filler; each sentence carries distinct information (delivery, suppression, return semantics, task mode). It is on the long side, but nearly every clause earns its place.

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 an 8-parameter, open-world mutation with an output schema, the description covers the decision lifecycle end to end: submission, recipient eligibility, atomicity in all mode, immediate return of request_id, and where to read the outcome. Nothing an agent needs to call it correctly is missing.

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 100%, so the baseline is 3, but the description adds real meaning on top: it explains that mode 'all' aborts entirely if any approver would be skipped, which is a consequence the enum description alone does not state, and it clarifies that approvers may be names resolved via the people tool.

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?

Opens with a specific verb and resource: 'Ask one or more approvers for an explicit yes or no before performing an action.' That framing cleanly separates it from the sibling question-asking tools (ask_user, ask_person) by making the gated-action intent explicit.

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 usage context ('before performing an action') and names the downstream tools that complete the loop: the inbox tool to read the decision and the people tool to resolve approver names. It stops short of explicitly contrasting with ask_user or ask_person, leaving the agent to infer when a lightweight question suffices.

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