Skip to main content
Glama

base_erc20_balance

Read-only

ERC-20 token balance of a wallet address on Base mainnet (USDC, WETH, any token): raw units, decimals, symbol and formatted amount, read live via eth_call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesERC-20 token contract address on Base.
addressYesWallet address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint, openWorldHint), and the description adds genuinely useful context: the read is live via eth_call (no caching/staleness assumption) and enumerates the returned fields. It does not cover error behavior (invalid address, non-ERC-20 contract) or any rate limits.

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?

One dense sentence, front-loaded with the resource and chain, then the return shape and read mechanism. Every clause carries information; nothing is padding.

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?

No output schema exists, so the description has to carry return-value semantics, and it does (raw units, decimals, symbol, formatted amount). With only two fully-documented required params and annotations covering safety, the remaining gap is failure-mode behavior, which is minor.

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 parameters are already documented with their address patterns; baseline 3 applies. The description loosely reinforces that 'token' is an ERC-20 contract on Base via the USDC/WETH examples, but adds no format or constraint detail beyond the schema.

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 (retrieve balance) and resource (ERC-20 token balance of a wallet) and pins the chain to Base mainnet, which cleanly separates it from the solana_* siblings. The token examples (USDC, WETH, any token) make the scope unmistakable 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 only implied by the resource name; the description never states when to use this versus siblings like base_token_info, nor any preconditions (e.g., must be an ERC-20 contract, not an NFT or native ETH). An agent can infer the obvious case but gets no routing help.

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