Skip to main content
Glama

MoneyTools x402 agent toolkit

Verified contract ABI

contract_abi
Read-onlyIdempotent

Fetch a verified contract's ABI from Sourcify (open data) with proxy resolution: implementation ABI merged, function and event signature lists. Free: 10 calls/day; then $0.002/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits. [served by tools.moneytools.dev]

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": "contract_abi"
  }
}

Input Schema

NameRequiredDescriptionDefault
fullNotrue = include the full ABI JSON
chainYeschain name
addressYescontract address

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover readOnly, idempotent, openWorld and non-destructive, and the description goes well beyond them: it discloses the data source, that proxy contracts are resolved and implementation ABI merged, what the response contains (signature lists), and the free-tier limit of 10 calls/day with paid fallback via x402 or X-API-Key. Rate limits and payment/auth mechanics are exactly the kind of behavior annotations cannot express.

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 capability statement is front-loaded and dense with useful specifics; the second half handles cost/auth and the serving host. Every clause carries information, though the pricing/payment sentence is tight enough that a hurried reader could miss the free-tier cap — minor structural cost, not waste.

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?

An output schema exists, so return values need no explanation; behavior, data provenance, proxy handling, cost model and auth paths are all covered. For a three-parameter read tool with full annotation and schema coverage, nothing an agent needs in order to call it correctly 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?

Schema description coverage is 100%, so chain, address and the `full` toggle are already documented in the schema. The description adds no extra parameter meaning (no address format rules, no chain-name expectations, no note on what `full=false` returns), 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?

States a specific verb and resource ('Fetch a verified contract's ABI'), names the upstream source (Sourcify) and the scope of enrichment (proxy resolution, merged implementation ABI, function and event signature lists). This is clearly a read/fetch-ABI tool, distinguishable from siblings like abi_encode (encoding) or contract_read (state reads) without opening any 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?

Usage is implied by the purpose ('fetch an ABI'), and the pricing/free-tier line gives practical context for repeated use, but there is no explicit when-to-use/when-not guidance and no named alternative for cases like decoding calldata or reading contract state. An agent can infer the situation, but the definition does no routing work.

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