Skip to main content
Glama

ERC-20 balance

erc20_balance
Read-onlyIdempotent

Raw + formatted ERC-20 balanceOf for an address at any token contract (decimals read on-chain when available; common-list/18 fallback is labeled). Preflighted so you never pay during an RPC outage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesHolder EVM address, 0x-prefixed.
decimalsNoToken decimals override (optional; default: on-chain decimals(), else common list, else 18).
token_addressYesERC-20 token contract address, 0x-prefixed.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolNo
scopeNo
validYes
reasonNo
addressYes
balanceNo
decimalsNo
retryableNo
balance_rawNo
token_addressYes
decimals_sourceNo

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and idempotentHint, and the description adds valuable behavioral context beyond them: it returns both raw and formatted values, resolves decimals on-chain with labeled fallbacks, and preflights so the caller never pays during an RPC outage. This meaningfully helps an agent predict behavior.

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 dense sentences carry all key information: scope, return nature, decimals handling, and the preflight guarantee. Information is front-loaded and no words are wasted.

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

Completeness5/5

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

For a read-only, idempotent tool with a full input schema and an output schema present, the description covers the essential behavioral details: raw/formatted output, decimal resolution fallback, and preflight safety. Nothing an agent needs to call it correctly is missing.

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 all three parameters including the decimals override behavior. The description's mention of on-chain decimals and fallbacks mostly restates the schema, adding little new parameter-level meaning.

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 unambiguously identifies an ERC-20 balanceOf read for an address at a token contract, and the ERC-20 scope clearly distinguishes it from sibling balance_check. However, it lacks an explicit imperative verb such as 'Retrieves' or 'Returns', so it just misses the top rating.

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 gives clear context: use this for raw and formatted ERC-20 balances at arbitrary token contracts, with a practical preflight guarantee. It does not explicitly state when NOT to use it or name alternatives like balance_check, so it stops short of a full 5.

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.8/5.0
Disambiguation5/5

Each tool targets a distinct identifier type or data source: every checksum validation is for a specific standard (IBAN, LEI, VAT, etc.), and the on-chain and rental tools are clearly separate domains. There is no ambiguity between tools; even similar-sounding checks like 'luhn_check' and 'ean13_check' are distinct algorithms with explicit descriptions.

Naming Consistency3/5

Most validation tools follow a 'X_check' pattern (iban_check, swift_bic_check, ein_format_check), but others deviate: 'company_number_format' uses a noun_noun structure, 'block_info' is noun_noun, and 'batch_validate' and 'context_distill' use verbs. While the pattern is not uniform, the names are readable and the convention is understandable, just not fully consistent.

Tool Count2/5

With 28 tools, this server exceeds the typical 3-15 well-scoped range and even the 16-25 heavy range. The server covers multiple unrelated domains (identifier validation, blockchain queries, rental fraud, text processing), which inflates the count. While each tool is individually justified, the overall surface feels overly broad for a single MCP server.

Completeness4/5

For each sub-domain, coverage is strong: identifier validation includes a wide range of international standards, on-chain queries cover balances, activity, and settlement history, and rental tools provide risk, verdict, and deposit guard. Minor gaps exist (e.g., no country-specific tax IDs beyond what's listed, no transaction history for arbitrary tokens), but the visible coverage is comprehensive for the stated purposes.

Resources