Skip to main content
Glama

chain_token_balance

ERC-20 token balance of a Base mainnet address via multi-provider JSON-RPC, incl. symbol/decimals/balance_formatted (per-token-contract cached in-isolate). Cost: $0.005 USDC per call via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYes0x-prefixed 20-byte ERC-20 contract address
addressYes0x-prefixed 20-byte holder address

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description provides cost ($0.005 per call), caching per token contract, and the inclusion of symbol/decimals/formatted balance. It does not cover failure modes but is transparent about significant behaviors.

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?

Two sentences with no wasted words. The first sentence front-loads the core purpose and key features (network, return fields, caching), and the second states cost. Every piece of information earns its place.

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?

Given the tool's simplicity (2 params, no output schema), the description covers main purpose, cost, and caching. It hints at return format. Missing edge case behavior (e.g., invalid address) but acceptable for this complexity.

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% and parameter descriptions are already clear. The description reinforces the ERC-20 context and adds return field information but does not add significant semantic 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?

The description clearly states it retrieves the ERC-20 token balance for a Base mainnet address, including symbol, decimals, and formatted balance. This distinguishes it from siblings like chain_balance which returns native balance.

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

Usage Guidelines4/5

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

The description specifies the network (Base mainnet) and mentions the cost, but does not explicitly contrast with siblings or provide when-not-to-use guidance. However, the context of ERC-20 tokens is implicit differentiation.

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.

TDQS

A3.7/5.0
Disambiguation4/5

The tools are organized into clear families (chain, crypto, defi, pm, enrich, scan) and each targets a distinct data type. The preview tools are explicitly labeled as free samples, reducing but not eliminating confusion with their paid counterparts. Some overlap exists between chain_wallet and chain_balance, and between enrich_domain and enrich_tech_risk, but descriptions clarify the difference.

Naming Consistency5/5

All tools follow a consistent resource_action pattern using snake_case (chain_balance, crypto_funding, enrich_domain). Preview tools consistently append '_preview' to their paid counterpart. The only minor variation is abbreviations like 'tx', 'pm', 'defi', but these are uniform.

Tool Count3/5

At 22 tools, the server is on the heavy side. The eight preview tools duplicate the functionality of their paid versions and inflate the count, though they serve a legitimate 'try before pay' purpose. The remaining 14 paid tools cover a wide range of risk data, making the count borderline appropriate.

Completeness4/5

The set covers on-chain balances, token security, DeFi yields, crypto prices, funding rates, prediction markets, domain enrichment, tech-risk CVE scanning, and MCP server auditing, which is a comprehensive risk toolkit. Minor gaps exist (e.g., no historical data, no address reputation, no token price by address), but the core workflows are well covered.

Resources