Skip to main content
Glama

Wallet balances on Base, Ethereum, Arbitrum or Monad: gas token + many ERC-20s in one call, with nonce and contract flag

base_wallet_balances
Read-onlyIdempotent

Use when an agent needs an EVM wallet's holdings in one call. Input: address; chain (base default, ethereum, arbitrum, monad); optional tokens (up to 20 ERC-20s; default: main stablecoins, WETH, BTC wrappers). Output: JSON block+time, native balance (ETH; MON on Monad), per-token symbol, decimals, raw and decimal balance, nonce, isContract. Chain state only, no prices. Bad input: 400, not charged. Use instead: sol_wallet_balances for Solana; base_wallet_related for counterparties. Example: ?address=0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1 Price: $0.002 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) 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": "base_wallet_balances"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoEVM chain (default base)
tokensNoUp to 20 comma-separated ERC-20 contract addresses on the chosen chain. Omit for the default set. A contract that is not an ERC-20 is listed with status not_an_erc20.
addressYesWallet or contract (0x + 40 hex; mixed case must be a valid EIP-55 checksum). Bad input → 400 (not charged)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  4. Changed3 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"Wallet or contract on Base mainnet (0x + 40 hex; mixed case must be a valid EIP-55 checksum). Bad input → 400 (not charged)"New value: +"Wallet or contract (0x + 40 hex; mixed case must be a valid EIP-55 checksum). Bad input → 400 (not charged)"
    • addedInput schema / properties / chain
      Added value: +{
      +  "description": "EVM chain (default base)",
      +  "type": "string"
      +}
    • changedInput schema / properties / tokens / description
      Previous value: -"Up to 20 comma-separated ERC-20 contract addresses on Base. Omit for the default set. A contract that is not an ERC-20 is listed with status not_an_erc20."New value: +"Up to 20 comma-separated ERC-20 contract addresses on the chosen chain. Omit for the default set. A contract that is not an ERC-20 is listed with status not_an_erc20."
  5. Added

TDQS

A4.9/5.0
Behavior5/5

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

The annotations already declare read-only, idempotent, open-world, non-destructive behavior, and the description adds cost ($0.002/call via x402), payment chains, validation behavior (400 not charged), and output contents. These are material operational details beyond the annotations, and nothing contradicts them.

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?

The description is front-loaded with the use case, then compactly labels Input, Output, error behavior, alternatives, example, and price. The dense semicolon style is efficient and every element adds operational value.

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 three-parameter read-only tool with no output schema, it covers inputs, defaults, supported chains, output fields, error handling, pricing, and sibling alternatives. An agent has enough information to call it correctly and understand the result shape.

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 schema already documents address format, chain default, and token limits. The description adds meaningful detail not fully in the schema: the named chain options and the composition of the default token set (stablecoins, WETH, BTC wrappers).

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 names the specific resource and action: an EVM wallet's holdings in one call, and lists supported chains. It also distinguishes itself from sol_wallet_balances for Solana and base_wallet_related for counterparties, so an agent can select it without opening the 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?

It explicitly says 'Use when an agent needs an EVM wallet's holdings in one call' and gives 'Use instead' alternatives for Solana balances and counterparties. The boundary 'Chain state only, no prices' further clarifies when this tool is appropriate.

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