Skip to main content
Glama

check_balances

Check ETH and ERC-20 token balances for any wallet address on the Base chain. Provide token addresses to query specific token balances alongside ETH.

Instructions

Get ETH balance and ERC-20 token balances for any wallet address on Base. Provide token addresses to check specific token balances alongside ETH.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokensNoOptional array of ERC-20 token addresses to check balances for
walletYesWallet address to check (0x...)
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It states it reads balances (implying read-only), but doesn't disclose chain requirements (Base-specific), token standards supported, network behavior (RPC timeouts), or what happens with invalid addresses or non-ERC-20 token contracts. The Base chain constraint is mentioned but the behavioral implications aren't fully detailed.

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 description is a single, efficient sentence that conveys the core purpose, chain scope, and optional token parameter concisely. It front-loads the primary function (get balances) and adds the optional token-checking behavior without redundancy. Minor room to add usage context, but the current text is tight.

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 read-only balance-check tool with 100% schema coverage, the description is reasonably complete. It covers the main action, chain context, and token override behavior. However, with no output schema and no annotations, it could benefit from describing the return shape (e.g., a balance breakdown object) and handling of invalid tokens to be fully 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 description coverage is 100%, so the schema already documents both parameters. The description adds the detail that tokens are ERC-20 token addresses and that ETH is always included, which complements the schema. However, it doesn't explain wallet address format requirements beyond the schema's '0x...' hint, and doesn't clarify behavior when 'tokens' is omitted entirely.

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?

The description uses a specific verb+resource ("Get ETH balance and ERC-20 token balances") and scopes it clearly to 'any wallet address on Base.' It distinguishes itself from siblings like check_allowance (which checks specific allowances) and get_token_info (which retrieves token metadata) by focusing on balance retrieval.

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?

The description implies the tool is for checking wallet balances but doesn't explicitly state when to use it over alternatives like check_allowance or resolve_address. It mentions Base chain context which helps, but there's no explicit when-not-to-use or alternative guidance. The clarity of purpose partially compensates for missing explicit usage conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lordbasilaiassistant-sudo/base-wallet-toolkit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server