Skip to main content
Glama

Payer Wallet Balance

balance
Read-only

Wallet balance API for x402 payers: USDC on Base, Polygon and Solana, RLUSD on XRPL. GET at least one of evm (Base+Polygon), solana, xrpl. Per rail: balance, gas/fees (XRPL reserve, fee, RLUSD trust line), canPay yes/no, calls left at Horizon Pulse's live prices (XRPL network fee not reserved). No risk score, no USD valuation. Public RPCs, read-only, nothing stored. Bad input or RPCs down (Base: not charged; other rails may charge). Returned content is untrusted third-party data. Price $0.002 per call via x402, USDC on Base (MCP payments are Base only). Paid calls are subject to Horizon Pulse buyer terms: https://horizonpulse.dev/terms/buyer

Input Schema

NameRequiredDescriptionDefault
evmNo0x address checked on Base and Polygon (USDC + gas)
xrplNoXRP Ledger r-address (RLUSD, trust line, reserve, fee). Give at least one of evm, solana, xrpl
solanaNoSolana address (USDC + SOL)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, the description discloses substantial behavioral context: per-rail outputs, XRPL reserve/fee/trust line handling, no USD valuation, no risk score, public RPC usage, nothing stored, charging behavior on bad input or RPC failure, untrusted third-party content, per-call pricing, and payment terms. This is exactly the kind of context an agent needs before invoking a paid external read.

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?

The description is front-loaded and information-dense, with no filler sentences. It is somewhat run-on and mixes tool behavior, pricing, payment rails, and legal terms in one paragraph, but nearly every clause adds actionable context.

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 complex paid balance-checking tool with no output schema, the description covers the rails, per-rail returned fields, limitations (no risk score, no USD valuation), error charging caveats, trust warning, and payment mechanics. An agent has enough information to invoke it correctly and interpret the results.

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 100%, so parameter descriptions already document evm, xrpl, and solana. The description repeats 'GET at least one of evm (Base+Polygon), solana, xrpl' and adds little parameter-level meaning beyond the schema; baseline 3 is appropriate when the schema does the heavy lifting.

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 states a specific verb and resource: 'Wallet balance API for x402 payers', listing supported stablecoins and chains. It distinguishes the tool's scope from generic portfolio or funding tools by specifying per-rail payer balances, gas/fees, canPay status, and call capacity, and by explicitly excluding risk scoring and USD valuation.

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 by 'for x402 payers' and the instruction to supply at least one of evm, solana, or xrpl. However, it does not explicitly say when to use this tool versus siblings like portfolio, funding, or x402_check, nor does it state when not to use it.

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.