Skip to main content
Glama

delegare-agent-payments

Pay Merchant

pay_merchant

Execute a payment to a merchant, crypto wallet, or user handle using your spending delegate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_metaNoInternal metadata for transport
recipientNoOptional: The merchant ID, Delegare handle (e.g. 'sunny-violet-panda'), or 0x crypto wallet address to send funds to.
amountCentsYesAmount in cents (e.g., 100 = $1.00)
descriptionYesPayment description or memo
intentMandateYesYour intent mandate (the SD-JWT-VC encoded token)
idempotencyKeyYesUnique key for the payment to prevent duplicates (e.g., 'pay_merchant_100_001')

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoPayment status
networkNoBlockchain network if applicable
receiptIdNoUnique receipt ID
amountCentsNoAmount paid
transactionNoOn-chain transaction hash if applicable
txExplorerBaseUrlNoExplorer URL base

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already indicate this is not read-only and is non-idempotent. The description adds the 'spending delegate' auth mechanism but doesn't disclose side effects such as fund irreversibility, fees, or failure modes. It adds some context but not rich behavioral detail.

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?

A single, front-loaded sentence stating the action and recipient types with no wasted words. Every phrase earns its place.

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

Completeness3/5

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

The output schema exists so return values are covered. However, for a 6-parameter financial mutation tool, the description lacks usage context (e.g., when to pay vs. request authorization) and behavioral caveats, making it only minimally complete.

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%, with the recipient parameter already explaining merchant ID, handle, and wallet address. The description adds no additional parameter-level meaning, so the baseline of 3 applies.

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 uses a specific verb 'Execute a payment' and explicitly lists recipient types (merchant, crypto wallet, user handle), clearly distinguishing it from sibling tools like get_balance or request_payment_authorization.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, no prerequisites (e.g., having a spending delegate configured), and no exclusions. It only states the action itself.

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