Skip to main content
Glama

request_approval_channel_authorization

Request authorization for an approval channel. Sends consent requests to all configured channels (Telegram/WhatsApp). Users must approve before confirmations can be sent.

Agent usage: This must be completed before create_confirmation will work for this approval channel. The consent request is DELIVERED to each channel — the response carries no link to show. It returns authorizations — one entry per resolved recipient, each with its channel, recipient, authorization_id and status — plus a message. Read the entries rather than assuming: status: 'pending' means consent was just sent and the user must approve in Telegram/WhatsApp itself, while status: 'active' means that recipient had already authorized and nothing was sent to them. An EMPTY array does not mean everyone is authorized — it means no recipient could be resolved at all (usually an approval channel bound to a missing or inactive circle, or channels whose recipient is blank), so nobody was asked and waiting for an approval would hang forever. Do not relay message on that branch: it reads 'All channels already have active or pending authorizations', which is exactly the wrong conclusion. Read the array. After requesting, you can proceed once the user confirms they have approved; get_authorization with an entry's authorization_id reads whether it has turned active.

ACCESS: needs a Proof account. Authenticate this client (Claude Code: /mcp → Authenticate), then call this tool again. start_login does NOT open this tool.

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": {
      "id": "<id>"
    },
    "name": "request_approval_channel_authorization"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesApproval channel ID to request authorization for

Output Schema

NameRequiredDescriptionDefault
hitl_idYesMongoDB ObjectId
messageYes
authorizationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and destructiveHint=false; the description goes well beyond that by disclosing the external side effect (consent requests are delivered to Telegram/WhatsApp, no link is returned), that already-active recipients receive nothing, and the empty-array failure mode that would otherwise hang an agent. It even warns against trusting the returned `message` on that branch, which is unusually useful. The only short gap is that the Proof-account/authentication note is somewhat tacked on at the end, but nothing contradicts the annotations.

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?

Front-loaded with purpose and prerequisite, then output semantics and the edge case, then access — a sensible order and every sentence carries operational content. It is long, with mild redundancy between 'Users must approve before confirmations can be sent' and 'must be completed before create_confirmation will work', which keeps it just short of a 5.

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?

Although an output schema exists, the description still explains what the returned `authorizations` entries contain and how to read `pending` versus `active`, plus the empty-array trap, the follow-up check, and the authentication prerequisite. For a stateful mutation with a failure mode that silently blocks progress, 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% and the single `id` parameter is documented as an approval channel ID, so the schema carries the weight and the baseline would be 3. The description adds real semantic meaning by explaining what makes an ID resolve badly ('an approval channel bound to a missing or inactive circle'), which tells the agent what an empty result actually means.

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?

'Request authorization for an approval channel' gives a specific verb and resource, and the description immediately distinguishes it from siblings by naming create_confirmation as the dependent tool and get_authorization as the follow-up. An agent can place this tool precisely in the workflow without reading any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit sequencing rules: it 'must be completed before create_confirmation will work', proceed 'once the user confirms they have approved', and use get_authorization with an entry's authorization_id to check activation. When-to-use, what-not-to-assume, and the next step are all stated rather than implied.

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.