Skip to main content
Glama

Agent Data Tools: Compliance and checks

Payment plan: which rail to pay a verified payee on

payee_plan
Read-only

Plan a payment to a payee before paying it: from its verified record (company, sanctions, signed wallets) and the rails it accepts (x402 USDC, MPP, card checkout, SEPA Instant, Swish), the best rail for the amount and currency and exactly what to pay where, plus finality, chargebacks and how to get a receipt. Never pays, routes or holds money. Use before paying when the buyer can pay several ways. Example: domain=agent-data-tools.revmesh2074.workers.dev. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "domain": "<domain>"
    },
    "name": "payee_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
canNoRails the buyer can pay on, comma-separated: x402, mpp, card, sepa-instant, swish (default all)
amountNoAmount to pay, in currency (optional; used for rail minimums)
domainYesThe payee's domain, e.g. shop.example.com
networkNoOnly x402 rails on this network, e.g. base
currencyNoISO currency of the price: USD (default), EUR, SEK… USDC counts as USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly=true, destructive=false, openWorld=true and idempotent=false, so the safety profile is covered. The description adds genuinely useful context beyond that — per-call charging ("each call is charged, so repeats are not free") and failed calls being free — though "reads or computes only and changes nothing" largely restates the readOnly hint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The capability and the trigger are front-loaded, which is good, but the sentence is heavily overloaded and the embedded pricing example ($0.01/call, /credits, first 10 free) reads as service self-promotion rather than tool semantics. "Never pays, routes or holds money" and "reads or computes only and changes nothing" are redundant restatements.

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 usefully previews the return contents (recommended rail, payment target, finality, chargeback exposure, receipt instructions) and discloses the cost model. It is nearly complete for a 5-parameter read tool; only the concrete shape of the returned plan is left implicit.

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% and every parameter (domain, can, amount, network, currency) is already documented in the schema, so the baseline is 3. The description adds only a worked example domain and the notion that amount/currency drive rail minimums, which is close to what the schema already states.

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?

States a specific verb and resource — plan a payment to a payee from its verified record — and enumerates what the plan contains (best rail, what to pay where, finality, chargebacks, receipt path). It is clearly distinct from the verification-oriented siblings (check_payee, payee_check), so an agent can select it without opening the schema.

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 before paying when the buyer can pay several ways" gives an explicit trigger condition, and "Never pays, routes or holds money" draws a hard boundary against actual payment tools. It does not name a specific alternative sibling to route to when the buyer has only one rail, which keeps it below a 5.

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