Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-event-decode

x402-event-decode: Decode ERC20 Transfer/Approval events from an Ethereum transaction receipt into readable entries (from, to, amount). Provide a txHash. 🆓 5 free trial calls per signed wallet

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": {
      "txHash": "<txHash>"
    },
    "name": "x402-event-decode"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNo
txHashYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "txHash"
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / tx / description
      Removed value: -"Tx to process"
    • removedInput schema / properties / txHash / description
      Removed value: -"TxHash to process"
  3. First observed

TDQS

B3/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 behavioral burden. It does disclose the useful parts: the output is human-readable entries with from/to/amount, and access is metered at "5 free trial calls per signed wallet" (implying a wallet signing/auth step). It does not say what happens for receipts with no Transfer/Approval logs, whether multiple events are returned, or what an error looks like.

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 definition is front-loaded with the tool name and the operation, followed by the input instruction and pricing note. It is short and has no filler, though the leading name prefix duplicates the tool name already supplied in structured metadata.

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

Completeness3/5

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

There is no output schema, so the description rightly sketches the return shape (from, to, amount), and it adds access-cost context. However, for a decode tool with an undocumented second parameter and no stated edge-case behavior, the agent is still missing what it needs to call this reliably with anything but the happy path.

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%, so the description must compensate, and it only covers one of two parameters. "Provide a txHash" explains the required field, but the optional `tx` property is left completely undefined in both schema and prose, and the accepted hash format (0x-prefixed, 32 bytes) or whether txHash alone suffices is not stated.

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 uses a specific verb ("Decode") and a specific resource ("ERC20 Transfer/Approval events from an Ethereum transaction receipt") and even names the resulting fields (from, to, amount), so the operation is unambiguous. It stops short of differentiating itself from close siblings such as x402-tx-decode or x402-abi-decode, which an agent would need in order to pick correctly.

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?

The only usage direction is "Provide a txHash", which restates the required input rather than saying when this tool is the right choice. There is no statement of when not to use it, nor any pointer to decoding alternatives for transactions that are not ERC20 receipts. The agent must infer the selection criteria.

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