Skip to main content
Glama

FMF Tools EVM Decoder

evm_calldata

Decode EVM calldata (any chain, no RPC) ($0.002 per call, paid via MPP on Tempo). Decode transaction input data into function name, signature and typed named arguments. Uses your ABI, or the Sourcify-verified ABI for chain_id + address (proxies resolved), or the 4byte signature database with a strict re-encode check. Recursively decodes nested calls (multicall, execute, Safe, routers) up to 2 levels. HTTP POST https://mpp-chain.fmf-x402.workers.dev/mpp/evm/calldata. 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": {
      "data": "<data>"
    },
    "name": "evm_calldata"
  }
}

Input Schema

NameRequiredDescriptionDefault
abiNoOptional ABI: JSON array, or human-readable lines like "function transfer(address to,uint256 amount)"
dataYes0x calldata (tx input), up to 100 KB
nestedNoDecode nested calldata in bytes args (default true)
addressNoOptional contract address (the tx "to")
chain_idNoOptional chain id for Sourcify ABI lookup

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 discloses substantial behavior: cost ($0.002 per call), payment via MPP on Tempo, no RPC dependency, ABI resolution strategies (user ABI, Sourcify-verified, or 4byte with re-encode check), recursive decoding up to 2 levels, and the HTTP endpoint. It does not explicitly state read-only or idempotency, though decoding is inherently safe.

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 front-loads the core purpose and cost, then covers ABI resolution, recursion, endpoint, and payment. Six sentences each contribute distinct information, though the density is slightly high; there is little wasted wording.

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?

Despite having no output schema and no annotations, the description explains the output shape (function name, signature, typed named arguments), payment requirements, ABI fallback logic, and recursion limits. It is nearly complete for a decode tool, with only minor gaps around error behavior or rate limits.

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 100%, so the baseline is 3. The description adds meaning beyond the schema by explaining how abi, chain_id, and address interact for ABI lookup (user ABI, Sourcify for chain_id + address, or 4byte fallback) and that nested controls recursion depth up to 2 levels.

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 states a specific verb 'Decode' and resource 'EVM calldata', then details the output (function name, signature, typed named arguments). It distinguishes itself from siblings by focusing on decoding transaction input rather than ABI lookup, encoding, logs, or selector resolution.

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 'Decode EVM calldata' and constraints like 'any chain, no RPC', but the description never explicitly names alternatives such as evm_encode or evm_selector or states when not to use this tool. Payment instructions are provided, but they are not tool-selection guidance.

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