Skip to main content
Glama

Eth wallet balances

eth_wallet_balances
Read-onlyIdempotent

Native ETH balance of a Ethereum wallet plus the balances of up to 20 ERC-20 tokens you list, formatted with each token's symbol and decimals, read live from Ethereum. Costs $0.005 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": "eth_wallet_balances"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokensNoComma-separated ERC-20 contract addresses on Ethereum, up to 20
addressYesWallet address on Ethereum

Output Schema

NameRequiredDescriptionDefault
chainNostring, e.g. "eth"
tokensNoarray
addressNostring, e.g. "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
nativeSymbolNostring, e.g. "ETH"
nativeBalanceNostring, e.g. "5.773252986299759339"

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\""
      +    },
      +    "chain": {
      +      "description": "string, e.g. \"eth\""
      +    },
      +    "nativeBalance": {
      +      "description": "string, e.g. \"5.773252986299759339\""
      +    },
      +    "nativeSymbol": {
      +      "description": "string, e.g. \"ETH\""
      +    },
      +    "tokens": {
      +      "description": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, the description discloses that data is read live from Ethereum, that the result is formatted with each token's symbol and decimals, and -- most valuably -- that the call costs $0.005 USDC on Base via x402, a payment constraint absent from structured fields. It does not cover failure modes for malformed or non-ERC-20 addresses, so it stops short of full transparency.

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?

A single front-loaded sentence covering what is returned, the token cap, formatting, data freshness, and cost -- no filler and nothing buried.

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?

For a two-parameter read tool with a full output schema and readOnly/idempotent annotations, the description covers purpose, freshness, formatting, and the payment requirement, so an agent has what it needs to invoke it. Only edge-case behavior (invalid or non-ERC-20 addresses) is unaddressed.

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%, so both address and tokens are already documented, including the comma-separated contract format and 20-token cap. The description restates the 20-token limit but adds no syntax or semantic detail beyond the schema, making the baseline 3 correct.

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 -- native ETH balance plus listed ERC-20 token balances -- and scopes it explicitly to Ethereum, which separates it from the arbitrum_/base_/polygon_ sibling variants without opening a 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 rather than stated: an agent can infer this is the Ethereum read path and that tokens must be passed as a comma-separated contract list. There is no explicit when-to-use/when-not guidance and no named alternative such as wallet_balances for multi-chain cases.

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