Skip to main content
Glama

Agent Data API

optimism_contract_info

Identify what lives at a OP Mainnet 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 OP Mainnet

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well: it discloses the identification behavior, EIP-7702 delegation handling, proxy/admin detection, bytecode size, nonce, ETH balance, and the x402 payment cost. It does not explicitly state read-only/no side effects or rate limits, but the 'Identify' framing and cost disclosure make the read operation clear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose and then enumerates useful return details. It is dense but mostly earns its length; the long capability list is relevant, though slightly list-heavy.

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 read tool with no output schema, the description thoroughly enumerates the important return values: wallet vs contract, token standards, name/symbol, proxy implementation/admin, smart-wallet proxies, bytecode size, nonce, ETH balance, and cost. That is enough for an agent to know what to expect from the call.

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 has 100% description coverage for the single address parameter, so the schema already explains the expected input. The description adds only the OP Mainnet context and does not provide extra syntax or format details 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 uses a specific verb, 'Identify', and clearly names the resource: what lives at an OP Mainnet address. It explicitly distinguishes wallet/EOA, EIP-7702 delegation, contracts, token standards, proxy details, and metadata, so an agent can understand the tool's scope without opening the schema.

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 usage by listing what the tool returns and naming the chain, but it does not explicitly say when to use this instead of siblings like optimism_wallet_profile, optimism_wallet_balances, or optimism_token_snapshot. The $0.005 cost is useful context but not a usage rule.

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