Skip to main content
Glama

MCPFax On-Chain Toolkit

Balance, next nonce, and whether an address is a contract

address_info

Native balance, the next nonce to use, and whether the address holds contract code — the three things needed before sending from or to an address. Pass 'token' as well to read an ERC-20 balance for the same address in the same call. Values are read at the latest block, so a reorg can change them. Costs $0.008 USDC per call via x402 on Base.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoethereum, base, arbitrum, optimism or polygon. Defaults to base.
tokenNoOptional ERC-20 contract address to also report that token's balance.
addressYes0x-prefixed 20-byte address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / address / examples
      Added value: +[
      +  "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
      +]
    • addedInput schema / properties / chain / examples
      Added value: +[
      +  "base"
      +]
    • addedInput schema / properties / token / examples
      Added value: +[
      +  "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that values are read at the latest block (reorg risk) and states the cost ($0.008 USDC per call via x402 on Base). It also implies a read-only operation by listing balance/nonce/code, and the optional token param adds behavioral context. Missing are error handling, rate limits, or idempotency, but the disclosed caveats exceed the typical baseline.

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 three sentences with zero filler. It front-loads the core purpose, then the optional parameter, then caveats and cost. Every sentence serves a distinct purpose, and the structure is logical for an agent to scan quickly.

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 no output schema, the description adequately conveys the return values (balance, nonce, contract status, optional token balance) and the operational context (chain default, cost, reorg risk). It doesn't mention response format or error behavior, but for a simple read-only call, the provided information is sufficient for an agent to invoke it correctly.

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%, so the schema already documents each parameter. The description adds context for 'token' (reads ERC-20 balance in same call) and frames 'address' as a prerequisite for sending, which slightly enriches semantics. However, it doesn't add syntax, formats, or interaction details beyond the schema, so the value-add is marginal.

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 clearly states the tool returns native balance, next nonce, and contract-code status, with an optional ERC-20 balance via 'token'. It uses specific resource nouns and implies a read operation, distinguishing it from token_info by focusing on address state rather than token metadata. However, it doesn't explicitly name sibling tools or contrast itself with them, so it's clear but not maximally differentiated.

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 gives a clear use case ('the three things needed before sending from or to an address') and explains when to pass 'token'. It does not explicitly state when to use alternatives like token_info or gas_now, nor does it mention any exclusions. The guidance is implied rather than explicit, so it's adequate but not prescriptive.

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