Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-abi-lookup

ABI Lookup: Contract ABI (functions and events) on Ethereum, Base, Polygon, Arbitrum and Optimism via the Blockscout smart-contract API, with Sourcify as the fallback source. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
qNo
chainNo
addressNo
chainIdNo
contractNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "address"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "contract"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. Changed5 schema fields changed
    • removedInput schema / properties / address / description
      Removed value: -"Address to process"
    • removedInput schema / properties / chain / description
      Removed value: -"Chain to process"
    • removedInput schema / properties / chainId / description
      Removed value: -"ChainId to process"
    • removedInput schema / properties / contract / description
      Removed value: -"Contract to process"
    • removedInput schema / properties / q / description
      Removed value: -"Q to process"
  3. First observed

TDQS

C2.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the data source (Blockscout smart-contract API) and the Sourcify fallback, plus the trial-call pricing model, but says nothing about what happens for unverified contracts, what the response contains, or whether a wallet signature/credential is required per call.

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?

Two short sentences, purpose front-loaded, no filler. The emoji pricing line is compact and informative. It is efficient, though it spends its limited budget on the trial badge while omitting parameter substance.

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

Completeness2/5

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

For a five-parameter tool with a non-trivial anyOf/allOf required constraint, zero parameter coverage, and no output schema, the description does far too little. An agent knows what the tool fetches but not how to fill in the schema correctly or what it will receive back.

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

Parameters2/5

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

Schema description coverage is 0% across five parameters, and the description never explains any of them. The chain list hints at valid values for 'chain', but it does not clarify the difference between 'address', 'contract', and 'q', nor the anyOf requirement that one of address/contract is required, nor the chainId vs chain relationship.

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?

States a specific verb and resource ('ABI Lookup: Contract ABI (functions and events)'), names the five supported chains and both data sources. The purpose is unmistakable and clearly distinct from x402-abi-decode / x402-abi-encode, though it never explicitly contrasts itself with them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no named alternatives. The only contextual sentence is the pricing note ('5 free trial calls per signed wallet'), which is a constraint rather than routing guidance; an agent must infer usage purely from the tool name.

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.