Skip to main content
Glama

FMF Tools EVM Decoder

evm_encode

Encode EVM calldata from a signature ($0.001 per call, paid via MPP on Tempo). Build 0x calldata from a function signature and arguments (e.g. "transfer(address,uint256)" + ["0x…", "1000000"]). Numbers may be strings; returns selector and calldata ready for eth_call or a transaction. HTTP POST https://mpp-chain.fmf-x402.workers.dev/mpp/evm/encode. 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": {
      "signature": "<signature>"
    },
    "name": "evm_encode"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoArguments in order (JSON array; big numbers as strings)
signatureYesFunction signature, e.g. transfer(address to,uint256 amount)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 rail (MPP on Tempo), the HTTP endpoint, and critically that the wrapper does not settle payment itself and requires an MPP Payment Authorization header. It omits failure modes and error behavior, which keeps it below a 5.

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 purpose is front-loaded and the three sentences each carry information (purpose, example, payment mechanics). The raw endpoint URL is verbose but functional; nothing is redundant.

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 two-parameter tool with no output schema, the description covers the return value ('selector and calldata'), the argument format, and the payment requirement. It is nearly complete; only error/failure behavior is left unstated.

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 both parameters. The description adds format examples ('transfer(address,uint256)' + ['0x…', '1000000']) and the note that numbers may be strings, but these largely restate the schema's own 'big numbers as strings' hint, so the added value is modest.

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?

The description opens with a specific verb and resource ('Encode EVM calldata from a signature') and reinforces it with 'Build 0x calldata from a function signature and arguments.' It is clear on its own, but it does not explicitly distinguish itself from the sibling evm_calldata or evm_selector, so the agent must infer the boundary.

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?

It supplies usage context ('ready for eth_call or a transaction') and payment prerequisites, but gives no explicit when-to-use/when-not guidance or named alternative among the evm_* siblings. The agent knows what it produces but not when to prefer it over evm_calldata.

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