Skip to main content
Glama

Agent Data API

polygon_contract_info

Identify what lives at a Polygon PoS 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 POL balance. Costs $0.005 USDC on Base via x402.

Input Schema

NameRequiredDescriptionDefault
addressYesAny address on Polygon PoS

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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 and does well: it discloses the paid x402 model with a precise price ($0.005 USDC on Base) and enumerates the returned fields, which is critical since there is no output schema. It is implicitly a read-only lookup. Minor gaps remain — no statement about behavior for a non-existent/EOA address (partial result vs error) or any rate/response-time notes.

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 the core purpose in the first clause, followed by a dense but scannable enumeration of returned data and a separate cost sentence. No filler, though the return-field list is long; it earns its length because no output schema exists to carry that information.

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?

For a one-parameter read tool with no annotations and no output schema, the description covers purpose, chain scope, return surface and payment cost — everything needed to decide to call it and interpret results. The remaining gap is failure semantics for invalid or non-contract addresses and any note on output format beyond field names.

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 description coverage is 100% and the single address parameter carries its own description and a ^0x[0-9a-fA-F]{40}$ pattern, so the schema already does the work. The description adds only that the address must be on Polygon PoS, which is marginal beyond the schema. Baseline 3 applies for a fully documented single parameter.

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?

States a specific verb ('Identify what lives at') plus the exact resource scope (a Polygon PoS address) and enumerates the concrete outputs: EOA vs contract, EIP-7702 delegation, ERC-20/721/1155, name/symbol, proxy implementation and admin, bytecode size, nonce and POL balance. The chain qualifier cleanly separates it from eth_contract_info, base_contract_info and the other *_contract_info siblings, and the descriptive scope separates it from polygon_wallet_profile / polygon_token_snapshot.

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 enumeration of outputs strongly implies when to reach for it (address classification and token/proxy inspection on Polygon), but no explicit when-to-use or when-not-to-use statement exists and no sibling is named as an alternative. An agent must infer that polygon_wallet_profile is the choice for transactional history and polygon_token_snapshot for token-market data rather than learn it here.

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