Skip to main content
Glama

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

Input Schema

NameRequiredDescriptionDefault
txNo
txHashNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / tx / description
      Removed value: -"Tx to process"
    • removedInput schema / properties / txHash / description
      Removed value: -"TxHash to process"
  2. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the return shape (from, to, amount) and a pricing constraint (5 free trial calls per signed wallet). However it omits failure behavior for receipts with no Transfer/Approval logs, whether the transaction must be mined, and any rate limits after the free trial, which matter for an unannotated read tool.

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 core sentence is front-loaded and efficient: resource, action, and output shape appear before the input instruction. The trailing emoji pricing line is mildly promotional but does convey real cost information, so only minor waste.

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

Completeness2/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 annotations, no output schema, and 0% schema description coverage, the description should resolve the tx vs txHash ambiguity and the required-parameter discrepancy. Neither is addressed, leaving the agent unable to determine which field to populate or what to pass for 'tx'.

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 coverage is 0% and the description only addresses one of the two parameters (txHash). The second parameter 'tx' is never mentioned, so the agent cannot tell whether it is an alias, a raw transaction object, or a network selector. The description's claim that a txHash must be provided also conflicts with the schema declaring zero required parameters.

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 names a specific verb and resource: decode ERC20 Transfer/Approval events from an Ethereum transaction receipt, and even lists the output fields (from, to, amount). It distinguishes itself implicitly from generic siblings like x402-tx-decode or x402-abi-decode by scoping to ERC20 event logs, though it never names those alternatives explicitly.

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?

'Provide a txHash' tells the agent what input to supply, not when this tool should be chosen over the many adjacent decoders (x402-tx-decode, x402-abi-decode, x402-tx-explain). There is no statement of when-not to use it, no mention of what happens with non-ERC20 receipts, and no prerequisites such as the need for a confirmed transaction.

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