Skip to main content
Glama

agentpay — card-funded wallets for AI agents

Send to an address or wallet

send

Pay sats to a BSV P2PKH address (on-chain, settlement=live, txid is a BSV transaction) or to an agentpay wallet id apw_… (internal ledger credit, settlement=internal, txid is a receipt id). Idempotent per idempotency_key. Daily limits, allowlists (spend or agent_send), and approval thresholds apply. Pass the public wallet id, never the secret apw_ token.

Input Schema

NameRequiredDescriptionDefault
keyNoAgent key (agp_…). Optional when the MCP connection sends Authorization: Bearer.
destYesBSV P2PKH address (1… / 3…) or public agentpay wallet id (apw_…, not the secret token)
memoNoOptional note stored on the send
satsYesAmount in satoshis
approvalIdNoApproval id from a prior approval_required response
idempotency_keyNoReplay key: a retry with the same key returns the original txid/receipt instead of sending twice

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so well: it discloses idempotency semantics (retry with the same key returns the original txid), that daily limits, allowlists (spend or agent_send), and approval thresholds apply, and what txid means in each mode (BSV txid vs ledger receipt id). This is exactly the context an agent needs before an irreversible money movement.

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 dense sentences with the core purpose and the destination-mode distinction front-loaded, followed by the safety/replay rules. Every clause earns its place and nothing is repeated from the schema verbatim.

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?

For a payment tool with no annotations and no output schema, the description covers what an agent must know: the two destination modes, settlement meaning, idempotent retry behaviour, spend controls, approval gating, and the secret-vs-public id pitfall. What remains uncovered (exact limit values) is policy detail rather than invocation semantics.

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 description coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: it ties the dest value to settlement behaviour and txid interpretation, and explains the replay guarantee of idempotency_key at the operation level rather than just restating its type.

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 (pay) and resource (sats to a BSV P2PKH address or an apw_ wallet id), and cleanly splits the two destination modes with their differing settlement semantics. It does not explicitly differentiate from siblings like spend or pay_service, which also move funds, so an agent must infer the boundary.

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?

The destination type determines the mode (on-chain vs internal ledger), and the description makes that routing rule explicit, plus warns to pass the public wallet id and never the secret apw_ token. It stops short of naming which sibling tool to use instead when the user means a service payment or a generic spend.

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