Skip to main content
Glama

Intents Checkout

Payment options for an invoice

payment_options
Read-onlyIdempotent

List the tokens and networks a customer can pay an invoice with, and the all-in amount for each. Says whether each can be paid from a wallet or by transfer to a deposit address; with payer, the tokens that address holds are included with balances.

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": {
      "invoiceId": "<invoiceId>"
    },
    "name": "payment_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
payerNoThe customer's wallet, to include its tokens
invoiceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already carry the read-only, idempotent, non-destructive, open-world profile, and the description still adds real substance: what each entry contains (all-in amount), the payment modality distinction (wallet vs transfer to deposit address), and the behavioral effect of supplying `payer`. Nothing about latency, pagination, or result ordering is disclosed, which keeps it below a 5.

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 sentences, front-loaded with the core purpose, then the optional-parameter refinement. Dense but no wasted words, and the sentence order matches the order an agent needs the information.

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 takes on the burden of describing the return payload (tokens, networks, all-in amount, payment method, balances). For a simple two-parameter read tool this is essentially complete; only output shape details like container type or pagination are absent.

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 coverage is 50% — `payer` is documented in the schema, `invoiceId` is not. The description compensates by explaining what `payer` actually changes in the output ('the tokens that address holds are included with balances'), which is meaning beyond the schema's terse 'The customer's wallet, to include its tokens', and `invoiceId`'s role is clear from the sentence about paying an invoice.

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+resource ('List the tokens and networks a customer can pay an invoice with') and even names the payload fields returned (all-in amount, wallet vs deposit-address payment). It is clearly distinguishable from siblings like quote_route or create_payment_link by subject matter, though it never explicitly positions itself against them.

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?

Usage is implied: it is what you call to enumerate payment options for a given invoice, and the optional `payer` is described as a refinement ('with `payer`, the tokens that address holds are included with balances'). There is no explicit when-to-use/when-not-to-use statement or reference to an alternative tool for a different need.

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.