Skip to main content
Glama

Ask a person for approval

request_approval

Ask a person to approve an action before you take it. Use it before anything that sends, spends, deletes, publishes or changes access on someone's behalf. Write the summary as one plain sentence saying exactly what will happen, with amounts, recipients and counts. The answer says whether you may act: only allowed: true means yes. Pending, denied, expired and withdrawn all mean do not act.

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

Input Schema

NameRequiredDescriptionDefault
agentYesYour name, the same every time. 1 to 200 characters.
actionYesShort machine-friendly name of the action, such as `email.send` or `payment.create`. Standing rules match on it.
amountNoThe money the action would move, such as 129.00. Give it whenever money moves; rules with a limit go by it. Use a string for an amount with decimals at or above 100,000,000,000. Needs `currency`.
detailsNoSupporting facts shown to the person deciding, as sent and as plain text. Put message text whole in `body`, a code change as a unified diff in `diff`, SQL in `sql`, a shell command in `command`, and items as a list of objects with the same keys.
sourcesNoWhat you read before asking that shaped this request: an email, a web page, a document, a ticket, another tool's output. Give each one a short label and the part of its text that led here. People see them, with values in `details` traced back to them. Everything listed here is shown as untrusted, so while you list any input no standing rule approves the request on its own and a person decides.
summaryYesWhat will happen, for the person deciding. One sentence, up to 2,000 characters.
currencyNoThree-letter currency code of `amount`, such as EUR.
ttl_secondsNoHow long the request stays open before it expires. Defaults to 15 minutes.
wait_secondsNoWait up to this many seconds for a person to decide, and answer as soon as they do.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With annotations only saying this is a non-read-only, non-idempotent, non-destructive call, the description carries real weight: it defines the answer contract ("only `allowed: true` means yes") and enumerates the four non-approval states. It does not state what the tool does when nobody responds within ttl_seconds, nor whether repeated calls create duplicate requests (relevant given idempotentHint=false), so it stops short of full behavioral disclosure.

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?

Four short sentences, front-loaded with the trigger condition, then the input-writing rule, then the answer contract. Every sentence adds a distinct constraint and none repeats the schema or the annotations.

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?

For a 9-parameter tool with nested objects and no output schema, the description compensates well by explaining the decision field and the terminal states. What it omits is the rest of the response surface (request identifiers, denial reasons) and the meaning of wait_seconds vs ttl_seconds interplay, which the schema documents only in isolation.

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 genuine guidance beyond the schema by prescribing the summary's form: "one plain sentence saying exactly what will happen, with amounts, recipients and counts." It says nothing about how agent, action, or details should be chosen, leaving those to the already-rich schema text.

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?

The opening sentence gives a concrete verb and resource (ask a person to approve an action) plus the temporal constraint (before you take it), which is far more than a restatement of the name. It is clearly not a status check or a withdrawal, but it never names check_approval, so an agent must infer that polling an existing request is a different tool.

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?

"Use it before anything that sends, spends, deletes, publishes or changes access on someone's behalf" gives explicit, enumerable trigger conditions, and "Pending, denied, expired and withdrawn all mean do not act" covers the negative outcome case. The gap is that no alternative is named for the follow-up path when the call returns pending, which is exactly where the siblings check_approval and withdraw_request live.

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