Skip to main content
Glama

x402 agent toolkit: service finder, payment safety, Solana & web tools

Transaction explainer

tx_explain
Read-onlyIdempotent

Explain a transaction in plain words: status, fee in USD, decoded method and arguments, token/NFT transfers, approvals (incl. unlimited / setApprovalForAll), other events. Free: 10 calls/day; then $0.003/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits. [served by tools.moneytools.dev]

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": "tx_explain"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYes0x transaction hash
chainYeschain name

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely useful operational context beyond that: a free tier of 10 calls/day, then $0.003/call, and the two payment mechanisms (x402 via params._meta or HTTP, or X-API-Key credits), which the agent needs before invoking. It stops short of describing output shape or failure modes, but the output schema covers returns.

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?

Purpose is front-loaded in a single dense clause, followed by the cost model in a second sentence; no filler. The trailing '[served by tools.moneytools.dev]' is low-value but negligible, and the long output enumeration is justified because it is what differentiates the tool.

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 read tool with full schema coverage, an output schema, and rich annotations, the description covers purpose, scope of the explanation, and the payment/rate-limit model. The remaining gap is chain coverage – the agent must guess which chain names are accepted beyond the 'base' example.

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 description coverage is 100% and both parameters carry descriptions plus examples, so the baseline is 3. The description adds nothing about the parameters – notably it never says which chains are valid for 'chain', which is the one piece of meaning the schema lacks (no enum, only the example 'base').

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+resource ('Explain a transaction') and enumerates the exact contents of the explanation: status, USD fee, decoded method and args, token/NFT transfers, approvals including unlimited and setApprovalForAll, other events. That content list effectively separates it from a raw status reader like tx_status, though no sibling is named explicitly.

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?

Usage is only implied by the purpose statement – 'explain a transaction' tells the agent what it is for, but there is no explicit when-to-use versus tx_status or calldata_decode, and no prerequisites such as a confirmed vs pending transaction. The pricing sentence does at least flag the cost consequence of calling it.

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