Skip to main content
Glama

Human Mailbox

Pay for a waiting item

pay_item

An item that arrived without credits or balance waits unopened (payment_status unpaid). Pay it here (credits, balance or x402).

Input Schema

NameRequiredDescriptionDefault
idYes
api_keyNoYour hm_... key. Only needed if your MCP client cannot send the "Authorization: Bearer" header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden for a financial mutation. It lists accepted funding sources (credits, balance, x402) but says nothing about idempotency, what happens on insufficient funds, whether payment is reversible, or whether the item becomes readable after paying — a critical unknown for an agent deciding whether to invoke.

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?

Two short sentences, front-loaded with the state condition before the action. Dense and mostly waste-free, though the opening clause is slightly cryptic and requires a second read.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a no-annotation, no-output-schema payment tool with half its parameters undocumented, the description leaves out too much: cost source, failure behavior, and the result of a successful payment. The essentials of calling it correctly are not fully covered.

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 coverage is 50%; api_key is documented in the schema, but 'id' is undocumented there. The description implicitly frames 'id' as the waiting item's identifier via context, which partially compensates, but it never states the id format or confirms it refers to an item rather than a payment record.

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 concrete verb (pay) and resource (item), and defines the triggering state precisely: an item that arrived without credits/balance stays 'unopened' with payment_status unpaid. This clearly separates it from sibling payment tools like pay_subscription or top_up, though it never names those alternatives explicitly.

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 condition for use is implied by 'an item that ... waits unopened (payment_status unpaid) — pay it here', which is a usable trigger. However, there is no explicit when-not guidance and no routing to sibling tools (top_up for balance, buy_bundle, accept_quote) that an agent could confuse with this one.

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