Skip to main content
Glama

evm_token_balance

Token balance on Base: the ERC20 balance of an address, with raw units, decimals and the token symbol resolved on-chain. Use it to read a token balance. Price: 0.003 USDC per call over x402 on Base or Solana.

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": {
      "token": "<token>",
      "address": "<address>"
    },
    "name": "evm_token_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesExample: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
addressYesExample: 0x842448B864443e18B1A7cCc1c25a676222B72413

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does disclose two critical behaviors: the operation is chain-scoped to Base and it costs 0.003 USDC per call via x402 on Base or Solana. It also reveals that decimals and symbol were resolved on-chain. It stops short of describing failure modes (non-ERC20 token, unverified contract) or whether results are cached.

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?

The chain, resource and returned fields are front-loaded in one dense clause, and the pricing sentence is short. The middle sentence ('Use it to read a token balance') is pure redundancy and could be deleted without loss.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read with no annotations and no output schema, the description covers chain, returned fields and payment model, which is most of what an agent needs. It leaves gaps around error behavior and the exact response shape, so it is adequate rather than complete.

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, though only by example hex strings. The description clarifies that 'address' is the holder being queried and that 'token' triggers on-chain symbol/decimals resolution, which is modest added meaning over the schema's bare examples — the baseline 3 fits.

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?

The description states a specific verb and resource (read the ERC20 balance of an address on Base) and even names the enrichment applied (raw units, decimals, symbol resolved on-chain). It implicitly separates itself from the sibling evm_balance by specifying ERC20 rather than native balance, but never names that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

'Use it to read a token balance' merely restates the tool name and adds no when-to-use condition. There is no guidance on when to prefer this over evm_balance, evm_portfolio, or evm_token_info, and no exclusions or prerequisites beyond the cost note.

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.