Skip to main content
Glama

chain_contract_info

Read-only

What is this address? (contract classifier) — One call to identify any address on base, ethereum, arbitrum, optimism or polygon: EOA, EIP-7702 delegated wallet, ERC-20, ERC-721, ERC-1155, ERC-4626 vault, Safe multisig, Uniswap v2/v3 pool or generic contract; detects EIP-1967/beacon/ZeppelinOS/EIP-1167/Safe proxies with implementation, token metadata, owner, paused state and flags. Price: $0.003 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>",
      "address": "<address>"
    },
    "name": "chain_contract_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesbase
addressYes0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover readOnlyHint and openWorldHint, yet the description adds substantive context beyond them: the supported chain set, the proxy standards inspected (EIP-1967/beacon/ZeppelinOS/EIP-1167/Safe), and the fields returned (implementation, token metadata, owner, paused state). It also discloses a metered cost of $0.003 USDC via x402, which is a real operational constraint an agent should know before calling. It does not describe failure behavior for unclassifiable addresses or rate limits.

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?

Front-loaded with a framing question and a labeled classifier tag, then the capability list, with pricing last—a sensible order for an agent scanning for cost. The enumeration of standards is long but each item earns its place by defining classification coverage; the sentence is dense with em-dashes yet readable.

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

Completeness3/5

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

There is no output schema, so the description carries the burden of explaining return values; it gestures at them (implementation, token metadata, owner, paused state, flags) without describing structure or what happens for unknown addresses. Chain scope and cost are well covered, but for a classifier with rich outputs the return-value picture remains partial.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is nominally 100%, but the schema descriptions are unhelpful—'chain' is documented only as 'base' and 'address' only as an example hex string. The description compensates by listing base, ethereum, arbitrum, optimism and polygon as valid chain values, which is meaning the schema does not supply. It still offers no guidance on address format validation or checksum handling.

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?

Names a specific verb and resource (classify an address) and enumerates the exact categories it returns: EOA, EIP-7702 delegated wallet, ERC-20/721/1155/4626, Safe multisig, Uniswap pool, generic contract. It is clearly distinguishable from siblings like chain_proxy, chain_code and chain_address_summary because it bundles classification plus proxy/token metadata in one call.

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?

Phrasing like 'One call to identify any address' implies this is the single entry point for classification, but it never states when to prefer it over chain_address_summary, chain_proxy or ai_contract_risk, nor any exclusions or prerequisites. Usage is implied rather than directed.

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