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/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, and the description adds useful behavior beyond that: it returns both raw and formatted values, reads decimals on-chain with a labeled common-list/18 fallback, and preflights calls so the user avoids paying during an RPC outage. This is meaningful transparency for an RPC-backed read.

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?

The description is two sentences with no fluff. The core function is front-loaded, and the parenthetical about decimals plus the preflight note both earn their place by adding decision-relevant behavior.

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 output schema and annotations, the description is largely complete: it covers the token contract scope, decimals behavior, formatted results, and cost protection. It could be slightly fuller by mentioning supported networks or explicit exclusions, but none are critical for an ERC-20 balance lookup.

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?

The input schema already covers all parameters with 100% description coverage, so the description does not need to repeat parameter semantics. It adds slight context around decimals fallback via the phrase 'common-list/18 fallback is labeled,' but this mostly mirrors the schema's decimal override description.

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 states a specific verb and resource: 'Raw + formatted ERC-20 balanceOf for an address at any token contract.' This clearly differentiates the tool from generic balance checkers like balance_check by scoping it to ERC-20 tokens at a specified contract address.

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 use case: retrieve an ERC-20 token balance for a holder address at a particular token contract. It does not explicitly name alternatives or state when not to use the tool, though the ERC-20 scoping provides some context against sibling tools.

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

Each tool targets a distinct identifier type or specific function (e.g., IBAN vs. EIN vs. block info), with no overlap even among similar validation routines. The batch and rental tools combine distinct sub-checks without ambiguity, making misselection unlikely.

Naming Consistency4/5

Tool names are uniformly snake_case and mostly follow a descriptive pattern, but the action verbs vary (e.g., 'check', 'format', 'info', 'guard', 'verdict') rather than a single verb_noun structure. While clearly readable, the pattern is not perfectly uniform.

Tool Count2/5

At 28 tools, the server feels like a broad utility pack rather than a focused domain. The count exceeds the 'heavy' threshold and includes three distinct sub-domains (financial identifiers, rental fraud, on-chain queries), making the surface area hard to navigate coherently.

Completeness4/5

The identifier validation coverage is thorough (most common checksums), rental checks cover risk, deposit, and verdict, and on-chain tools handle balances, activity, and settlement history. Minor gaps exist (e.g., no token transfer history, no generic identifier detection) but agents can likely work around them.

Resources