Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-tx-decode

Tx Decode: Decode EVM calldata. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
toNo
txNo
dataNo
inputNo
addressNo
calldataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "calldata"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "data"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. Changed6 schema fields changed
    • removedInput schema / properties / address / description
      Removed value: -"Address to process"
    • removedInput schema / properties / calldata / description
      Removed value: -"Calldata to process"
    • removedInput schema / properties / data / description
      Removed value: -"Data to process"
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / to / description
      Removed value: -"To to process"
    • removedInput schema / properties / tx / description
      Removed value: -"Tx to process"
  3. First observed

TDQS

C2.6/5.0
Behavior2/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 discloses very little: it does not say what the decoded output looks like, whether inputs are validated, what happens on malformed calldata, or what authentication a 'signed wallet' entails. The free-trial quota is the one useful behavioral detail, but nothing about failure modes or output shape is given.

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

Conciseness3/5

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

The definition is short and front-loaded with the core action, so it is easy to scan. However, the brevity is under-specification rather than efficiency, and the trailing promo sentence occupies space that parameter or usage guidance should have taken.

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 six-parameter tool with no annotations, no output schema and an anyOf-constrained input, the description is far too thin. It should at minimum clarify the accepted input forms and what a successful decode returns, neither of which is covered anywhere else in the definition.

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% across six properties (to, tx, data, input, address, calldata), and the description only echoes the word 'calldata'. It never explains the anyOf requirement (calldata or data), nor what `tx`, `to`, `input` or `address` are for, leaving an agent to guess which of several overlapping input forms to supply.

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?

States a specific verb and resource: 'Decode EVM calldata.' An agent can tell it is a decoding utility, but the description offers no differentiation from close siblings such as x402-abi-decode, x402-event-decode or x402-tx-explain, and it does not acknowledge that the schema also accepts a `tx`/`to` pair, implying broader transaction decoding than 'calldata' suggests.

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?

There is no guidance on when to pick this over x402-abi-decode or x402-tx-explain, and no prerequisites or exclusions. The only extra sentence is a pricing/promo line ('5 free trial calls per signed wallet'), which is billing information rather than usage 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.