Skip to main content
Glama

EVM Wallet & Token Due-Diligence (x402)

decode_evm_tx

Read-only

$0.03 (x402). Decode one EVM transaction: status, from/to, value, fee, block time, ERC-20 transfers.

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": "<chain>",
      "hash": "<hash>"
    },
    "name": "decode_evm_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYes0x tx hash
chainYesethereum|base|arbitrum|optimism|polygon|bsc

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes that this is a safe read operation. The description adds meaningful behavioral context beyond that: the tool is a paid x402 endpoint costing $0.03 and returns specific decoded fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two compact fragments with zero wasted wording. The paid-endpoint note and decoded-field list are both front-loaded and useful.

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

Completeness5/5

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

This is a low-complexity tool with two fully documented parameters and a readOnlyHint annotation. Although there is no output schema, the description lists the main decoded fields, giving the agent enough context to call it correctly.

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 description coverage is 100%, and both required parameters are already documented in the schema. The description adds no parameter-level syntax or format beyond what the schema provides, so the baseline applies.

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 and resource: decode one EVM transaction. It also enumerates the decoded fields (status, from/to, value, fee, block time, ERC-20 transfers), clearly distinguishing it from sibling tools like evm_balance, evm_block, evm_code, and evm_nonce.

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 use when a caller has a transaction hash and chain and wants transaction details, but it does not provide explicit when-to-use, when-not-to-use, or named alternative guidance. The usage context is adequate but inferred rather than stated.

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