Skip to main content
Glama

Build Human Approval Request

request_human_approval
Read-onlyIdempotent

Create an approval request record for high-value purchases, returning a request ID and expiry time so agent workflows can track pending human sign-off.

Instructions

Create an approval request record for a high-value purchase without notifying a human or storing the request. Returns the request ID and expiry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesPurchase amount
reasonYesWhy this purchase is needed
agent_idYesAgent requesting approval
currencyNoCurrencyusd
merchantYesMerchant name
expires_minutesNoMinutes until approval expires

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv4.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Addedv2.8.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive behavior, so the bar is lower; the description still adds real value by clarifying that no human is notified and nothing is stored, which resolves the apparent contradiction with the tool name. It also states the returned ID and expiry. It does not cover validation rules or error conditions.

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?

Two tight sentences, zero filler, with the create action and its critical no-side-effect caveat front-loaded before the return-value sentence. Every clause earns its place.

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 no output schema, the description correctly discloses the return values (request ID and expiry). All six parameters are described in the schema. It is largely complete, though it omits where the resulting ID is later consumed (e.g., add_approval_signature).

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% across all six parameters, so the schema already documents amount, reason, agent_id, currency, merchant, and expires_minutes. The description adds no parameter-level detail such as valid ranges for amount or units for expires_minutes, so it sits at the baseline.

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 verb and resource ('Create an approval request record for a high-value purchase') and immediately qualifies the scope with 'without notifying a human or storing the request,' which is essential since the tool name implies a real notification. However, it never distinguishes itself from the sibling 'create_approval_request' with a similar name and intent.

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?

The phrase 'for a high-value purchase' implies the usage context, but there is no explicit when-to-use, when-not-to-use, or routing to alternatives such as create_approval_request or add_approval_signature. Usage must be inferred from the description.

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

Deploy Server

Other Tools