Skip to main content
Glama

FMF Tools EVM Decoder

evm_abi

Verified contract ABI (Sourcify, any EVM chain) ($0.001 per call, paid via MPP on Tempo). Get the verified ABI, contract name, compiler and match level for a contract on any Sourcify-supported chain, with proxy detection and the implementation ABI merged in. Returns function/event selectors alongside the ABI. HTTP POST https://mpp-chain.fmf-x402.workers.dev/mpp/evm/abi. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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_id": "<chain_id>",
      "address": "<address>"
    },
    "name": "evm_abi"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesContract address
chain_idYesChain id, e.g. 1, 8453, 42161, 10, 137, 56
resolve_proxyNoMerge the implementation ABI for proxies (default true)

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 cost ($0.001 per call), the payment mechanism (MPP on Tempo), and critically that the wrapper does not settle payment itself, requiring an MPP Payment Authorization header or the mppx HTTP route. It also explains that proxy detection merges the implementation ABI. It stops short of covering failure modes (unverified contract, unsupported chain) 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?

The description is front-loaded with the resource and return contents, then the cost/payment details, then the endpoint. Every sentence carries information, though the payment and HTTP-route sentence is dense and the raw URL is verbose relative to the rest.

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 3-parameter read tool with no output schema and no annotations, the description is nearly complete: it covers what is returned, cost, payment/auth requirements, and proxy behavior. The main gaps are error/edge-case handling (unverified contracts, unsupported chains) and how merged implementation ABIs are represented in the response.

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 coverage is 100%, so the schema already documents all three parameters, making 3 the baseline. The description adds only marginal meaning beyond the schema: 'any Sourcify-supported chain' contextualizes chain_id and 'proxy detection and the implementation ABI merged in' loosely echoes resolve_proxy, but neither adds format or edge-case detail.

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 names the specific resource (verified contract ABI from Sourcify) and states exactly what is returned: ABI, contract name, compiler, match level, and function/event selectors. It is clearly distinct from the sibling tools (evm_calldata, evm_encode, evm_logs, evm_selector), which handle calldata, encoding, logs, and selector lookup rather than ABI retrieval.

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 the use case (retrieving a verified ABI for a contract on a Sourcify-supported chain) and mentions proxy resolution, but gives no explicit when-to-use/when-not guidance or named alternatives. It does not state, for example, that evm_selector should be used when only a selector lookup is needed, nor what to do when a contract is unverified.

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