Skip to main content
Glama

OnchainCheck Wallet Screen

Wallet balances

wallet_balances
Read-onlyIdempotent

Everything an EVM wallet holds across Base, Ethereum, Arbitrum, Optimism and Polygon in one call: native coin and every ERC-20 balance priced in USD, sorted by value, with per-chain and overall totals and the top 10 holdings. Spam and unpriced tokens are counted, not listed. Optional chains limits which networks are read. Costs $0.003 USDC on Base via x402.

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": {
      "address": "<address>"
    },
    "name": "wallet_balances"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainsNoComma-separated subset of base, eth, arbitrum, optimism, polygon (default all)
addressYesEVM wallet address

Output Schema

NameRequiredDescriptionDefault
notesNostring, e.g. "Balances read live from each chain (Alchemy); USD prices fr
chainsNoarray
addressNostring, e.g. "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
totalUsdNonumber, e.g. 26449.55
checkedAtNostring, e.g. "2026-11-10T07:18:53.879Z"
topHoldingsNoarray

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world, so the description wisely spends its words elsewhere: spam and unpriced tokens are counted but not listed, results are value-sorted with top 10 highlighted, and there is a paid access requirement ($0.003 USDC on Base via x402). The payment gate is a non-obvious prerequisite that an agent must know before calling.

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?

Three dense sentences, front-loaded with the primary capability, followed by output shape, then the optional parameter, then cost. No filler and nothing buried.

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?

An output schema exists, so the description need not explain return values, yet it still sketches the shape (totals, top 10, counted-vs-listed spam). Combined with cost disclosure, address-only input, and chain selection, an agent has everything needed to call this 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 description coverage is 100%, with both the address pattern and the comma-separated chain subset already documented including the default. The description's 'Optional chains limits which networks are read' restates rather than extends that, so the baseline 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?

States a specific verb and resource ('Everything an EVM wallet holds') with explicit scope: five named chains, native plus ERC-20, USD pricing, sorted, with totals and top 10. This clearly differentiates it from the per-chain siblings like base_wallet_profile and eth_wallet_profile, which cover one network each.

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

Usage Guidelines4/5

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

The multi-chain, single-call framing plus 'Optional chains limits which networks are read' tells an agent when this is the right pick over a single-chain profile tool. It stops short of naming an alternative or stating exclusions (e.g. what to use for non-EVM wallets such as solana_wallet).

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