Skip to main content
Glama

balance

balance

Wallet balance: native coin balance plus USDC/USDT (or any ERC-20 tokens you list) for an address on Base, Ethereum, Arbitrum One, OP Mainnet, Polygon PoS, BNB Smart Chain, Avalanche C-Chain. Also returns nonce (transaction count) and whether the address is a contract. Price: $0.001 USDC per successful call (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": "balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain (default base)
tokensNoComma-separated token contracts or shortcuts usdc,usdt (default: the chain's USDC/USDT)
addressYesWallet or contract address (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and does substantial work: it discloses cost ($0.001 USDC per successful call, x402), the fact that billing only occurs on success, and non-obvious return fields (nonce/transaction count, is-contract flag). It stops short of describing rate limits, failure modes, or how x402 payment is actually negotiated.

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?

Two sentences, front-loaded with the core purpose, with the pricing note correctly deferred to the end. The chain list is long but each item is load-bearing; there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 describes what comes back (balances, nonce, contract status) and covers chains, defaults, and cost. What is missing is only minor return-value detail such as decimals/units or how balances are keyed per token.

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 the schema already documents address, chain enum, and the comma-separated tokens format. The description restates the token shortcuts and defaults but adds no syntax or edge-case detail (e.g., native-token handling, mixed-case addresses) beyond what the schema provides, so 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 ('Wallet balance: native coin balance plus USDC/USDT') and enumerates the exact chains supported, plus secondary returns (nonce, contract flag). An agent can distinguish this from sibling tools like 'token' or 'tx' without reading 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 Guidelines3/5

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

Usage is implied by the description's framing (query holdings for one address on one chain), and defaults are stated ('default base', 'default: the chain's USDC/USDT'). However, it never names an alternative or says when a sibling such as 'token' or 'tx' would be the better call, nor any prerequisite for the paid path beyond the price line.

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