Skip to main content
Glama

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 paid x402 request for your input (POST /wallet/balance/batch, $0.075 per call; schema linked). 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.

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": {
      "addresses": "<addresses>"
    },
    "name": "wallet_balance_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainsNoOptional comma list applied to every address (ethereum, base, arbitrum, polygon); default all EVM chains
addressesYes1 to 25 addresses; duplicates are removed

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / chains / description
      Previous value: -"optional, for every address: comma list of chains, as in the single call"New value: +"Optional comma list applied to every address (ethereum, base, arbitrum, polygon); default all EVM chains"
  2. Changed1 schema field changed
    • changedInput schema / properties / addresses / description
      Previous value: -"1 to 25 addresss; duplicates are removed"New value: +"1 to 25 addresses; duplicates are removed"
  3. Added

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the tool returns a paid x402 request body rather than the balances themselves, states the price ($0.075 per call), gives the endpoint path, and notes that bad input is refused before any charge. That payment-and-validation flow is exactly the behavior an agent cannot infer from readOnly/idempotent/openWorld hints.

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?

Five short clauses, front-loaded with the use case, then the return shape and price, then the sibling pointer. Every sentence carries decision-relevant information; nothing is padded.

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 must explain what comes back, and it does: a paid x402 request body to POST to the given URL. Combined with cost, validation behavior, and the singular alternative, an agent has everything needed to invoke this correctly.

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 100%, so the baseline is 3, but the description earns extra credit by stating that addresses may be 0x hex or ENS names, a detail the schema does not mention. Chain filtering is only alluded to via 'native and stablecoin balances' rather than explained, keeping it off a 5.

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?

States a specific verb and resource: fetch native and stablecoin balances for a list of wallets in one POST, up to 25 addresses. It explicitly distinguishes itself from the singular sibling with 'For one wallet use wallet_balance,' so an agent can choose without opening either schema.

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?

Opens with the exact triggering condition ('Use when you need ... for a list of wallets') and names the alternative for the one-wallet case. The 25-address ceiling further scopes when this tool is appropriate versus the single-wallet path.

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