Skip to main content
Glama

Agent Data Hub

Wallet balance (native + USDC/ERC-20)

chain_balance
Read-onlyIdempotent

Live wallet balance on Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, Avalanche, Gnosis or Base Sepolia: native coin (ETH/POL/BNB…) plus USDC by default, or up to 5 ERC-20 tokens you name. Returns human-readable and raw amounts, symbols and the block number read. Price: $0.002 per call (USDC on Base via x402); the first 10 calls per day are free.

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": "chain_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain (default base)
tokenNoOptional: up to 5 ERC-20 contract addresses, comma-separated, or 'usdc'
addressYesWallet address 0x…

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the safety profile is covered. The description adds genuinely non-structured behavior: exactly what comes back (human-readable and raw amounts, symbols, block number read) and the commercial terms ($0.002 per call via x402, first 10 calls/day free) — the rate-limit/pricing disclosure is precisely the kind of context annotations cannot carry. It does not cover failure modes such as invalid address or unsupported token.

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, both front-loaded: capability and scope first, commercial terms last. Dense but every clause (chains, default tokens, token cap, return shape, price) carries information. The chain enumeration is long but functional.

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 takes on the return-value burden by naming the fields returned. Combined with pricing, defaults, and chain coverage, an agent has enough to call it correctly; only error/edge behavior is absent.

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 all three parameters including the chain enum and default. The description restates the defaults and the five-token cap that the schema already carries, adding only marginal meaning; it leaves mildly ambiguous whether a named token list replaces or supplements the default USDC.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource ('Live wallet balance') and enumerates the nine supported chains, so the scope is unambiguous. It implicitly separates itself from the chain_erc20_balance and chain_live_balance siblings by stating it returns native plus USDC by default, but it never names or contrasts those siblings explicitly.

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 rather than stated: the default chain (base), the default token set (native + USDC), and the 'up to 5 ERC-20' cap tell an agent what a bare call does. There is no explicit when-to-use/when-not-to-use guidance and no pointer to chain_erc20_balance for token-only queries, so the agent must infer the alternative.

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