Skip to main content
Glama
jessepetersondev

consentgate-mcp

Request explicit human approval (blocks)

request_approval

Requests a human's explicit approval for an action, blocking until they decide or timeout. Returns allow only on explicit approval, otherwise denies to safely gate high-stakes operations.

Instructions

Request a human's explicit approval for an action and BLOCK until they decide or the timeout elapses. Use for high-stakes actions, or whenever check_action returned "ask". The owner gets an Approve/Deny prompt on Telegram. Returns "allow" ONLY if a human tapped Approve. Returns "deny" on tap-deny, on timeout (fail-closed), or when interactive approvals are unavailable (owner not on Pro, or Telegram not linked — see upgrade_required / telegram_linked). NEVER treat a non-"allow" result as permission.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesThe specific action requiring approval, e.g. "send_email", "transfer_funds".
categoryYesAction category. Built-in categories: email, social_post, message, file_write, file_delete, api_call, spending, calendar, system, custom. Any short label (<=50 chars) is accepted.
metadataNoStructured details shown to the human in the approval prompt (e.g. recipient, amount, summary). Max 10KB.
wait_secondsNoHow long to block waiting for the human's tap (1-120s). On timeout the result fails closed to "deny".
Behavior5/5

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

The description discloses extensive behavioral details: blocking behavior, exact return values, fail-closed timeout, unavailable conditions, and a strong safety caveat. This goes well beyond the annotations (readOnlyHint=false, openWorldHint=true) and adds critical context for an agent.

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?

The description is a concise block of information with clear front-loading of the core purpose. Every sentence contributes critical usage or safety information, and the overal length is justified for a safety-critical tool.

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?

Given no output schema, the description fully explains return values and edge cases. It covers success (allow), deny conditions, timeout, unavailable scenarios, and safety rules, making it complete for an agent to use correctly.

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 description coverage is 100%, so the baseline is 3. The description does not add extra parameter-specific meaning beyond what the schema already provides; it focuses on overall tool behavior instead.

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?

The description states exactly what the tool does: request human approval and block until decision or timeout. It clearly distinguishes this from the sibling tool check_action by saying 'Use for high-stakes actions, or whenever check_action returned "ask"'.

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?

It explicitly says when to use this tool (high-stakes actions, check_action returned ask) and when to avoid treating results as permission. The description also mentions alternatives via the check_action reference, giving clear contextual guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jessepetersondev/consentgate-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server