Skip to main content
Glama

Agent Data API

eth_contract_info

Identify what lives at a Ethereum address: wallet (EOA, including EIP-7702 delegation) or contract, which token standard it implements (ERC-20, ERC-721, ERC-1155), name and symbol, upgradeable-proxy implementation and admin, smart-wallet proxies, bytecode size, nonce and ETH balance. Costs $0.005 USDC on Base via x402.

Input Schema

NameRequiredDescriptionDefault
addressYesAny address on Ethereum

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the burden; it discloses a critical non-obvious behavior — the tool is paid, costing $0.005 USDC on Base via x402 — which tells the agent a payment/auth flow is required before calling. It also implies the response contents, though it says nothing about failure modes, rate limits, or handling of non-existent addresses.

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 front-loaded sentences: the capability enumeration first, the payment condition second. The long list of returned attributes is dense but every item is load-bearing given there is no output schema, and no sentence is redundant.

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 one-parameter classification tool with no output schema and no annotations, the description supplies both the return-value inventory and the payment model — the two things an agent would otherwise have to discover by trial. Nothing essential 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?

Only one parameter, and schema description coverage is 100% ('Any address on Ethereum', with a 0x-prefixed 40-hex pattern). The description contributes no additional syntax or constraints beyond scope confirmation, so the baseline 3 applies.

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?

Specific verb ('Identify what lives at') plus an explicit enumeration of what is returned: EOA vs contract, EIP-7702 delegation, token standard, name/symbol, proxy implementation/admin, bytecode size, nonce, balance. The chain-prefixed name plus 'Ethereum address' cleanly separates it from base_contract_info/arbitrum_contract_info and other siblings.

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 purpose implies when it applies (classifying an address or inspecting a contract), but there is no explicit when/when-not, no mention of alternatives such as eth_wallet_profile, eth_token_snapshot, or eth_wallet_balances, and no stated prerequisites. Usage is inferable rather than guided.

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