Skip to main content
Glama

P0: wallet balances and EVM reads

Wallet balance batch

wallet_balance_batch
Read-onlyIdempotent

Use when you need native and stablecoin balances for a list of wallets: up to 25 addresses (0x or ENS names) in one POST. Returns the exact paid x402 request for your input (POST /wallet/balance/batch, $0.075 per call), with a link to the full schema; POST that JSON body to the URL with an x402 or MPP client to get the data. Bad input is refused before any charge. For one wallet use wallet_balance. With a P0 access key (header Authorization: Bearer p0k_…, buy one at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) this tool makes the paid call itself and returns the data, deducting the listed price.

Input Schema

NameRequiredDescriptionDefault
chainsNooptional, for every address: comma list of chains, as in the single call
addressesYes1 to 25 addresses; duplicates are removed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial context they don't carry: the $0.075 per-call price, that bad input is rejected before any charge, that the default return is an unpaid x402 request body rather than data, and that a P0 key causes the call to be paid and the balance deducted. The only gap is pagination/result-shape detail, minor given the tool returns a request payload or data directly.

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 use case and the sibling alternative are front-loaded, followed by payment mechanics, which is a sensible ordering. It is dense but nearly every sentence carries operative information; the long key-purchase URL is the one element that could be compressed.

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?

With no output schema, the description correctly explains what actually comes back — a paid x402 request body plus a schema link, or the data itself when a P0 key is used. Combined with the pricing and pre-charge validation notes, an agent has everything needed to invoke it correctly.

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 both parameters are already documented, and the description largely restates them (25-address cap, chain list). It does add one piece of meaning beyond the schema by naming '0x or ENS names' as accepted address formats, but otherwise leaves the heavy lifting to the schema — baseline 3.

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 opens with a specific verb and resource: native and stablecoin balances for a list of wallets, capped at 25 addresses in one POST. It explicitly names the sibling wallet_balance as the single-address alternative, so an agent can distinguish the two without inspecting schemas.

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

Usage Guidelines5/5

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

It states the triggering condition (need balances for a list of wallets) and gives an explicit routing rule: 'For one wallet use wallet_balance.' It also explains the two operating modes — raw x402 request construction vs. auto-paying with a P0 key — which determines how the agent should proceed.

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