Skip to main content
Glama

Wallet balances

wallet_balances
Read-onlyIdempotent

Wallet balances: 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. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "address": {
      +      "description": "string, e.g. \"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\""
      +    },
      +    "chains": {
      +      "description": "array"
      +    },
      +    "checkedAt": {
      +      "description": "string, e.g. \"2026-11-10T07:18:53.879Z\""
      +    },
      +    "notes": {
      +      "description": "string, e.g. \"Balances read live from each chain (Alchemy); USD prices fr"
      +    },
      +    "topHoldings": {
      +      "description": "array"
      +    },
      +    "totalUsd": {
      +      "description": "number, e.g. 26449.55"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety is covered. The description adds genuinely useful behavior: results sorted by value, per-chain and overall totals, top-10 cap, and that spam/unpriced tokens are counted but not listed. It does not cover pagination or truncation limits for large wallets beyond the top-10 note.

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?

Front-loaded with the resource and scope, then output shape, then cost. Very dense and largely waste-free, though it runs as one long colon-chained sentence that could be split for readability.

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?

Covers everything an agent needs to decide and call: scope, output shape, filtering behavior, cost. An output schema exists so return-value detail is not required in prose, making the extra description of aggregates and top-10 a bonus rather than a gap.

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 with patterns and a default. The only added semantics is that 'chains' limits which networks are read, which restates the schema rather than adding format or edge-case guidance.

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 resource (wallet balances) and scope (native coin plus every ERC-20 across Base, Ethereum, Arbitrum, Optimism, Polygon) in one call. The phrase 'in one call' plus the enumeration of five chains distinguishes it from the per-chain siblings like arbitrum_wallet_balances without naming them.

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?

Clear context for use: multi-chain holdings with USD pricing, totals and top 10, and it notes the optional 'chains' subset to narrow networks. It also discloses the $0.003 USDC/x402 cost, which is a real gating consideration. It stops short of explicitly naming when to prefer a single-chain sibling instead.

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