Skip to main content
Glama

Beggar Bot

evm_tx_decode

Decode a raw signed EVM transaction (legacy/1559/4844/7702): tx hash, chain, nonce, gas, max cost, recipient, value, recovered sender (from) and decoded calldata. Offline, no RPC. Paid: $0.02 USDC via x402.

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": {
      "raw": "<raw>"
    },
    "name": "evm_tx_decode"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawYes0x signed raw transaction hex
sigNooptional function signature(s) for calldata

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses the operation is fully offline (no RPC), enumerates the decoded output, and crucially surfaces the paid-usage requirement ($0.02 USDC via x402), which is a real barrier an agent must know about before calling. It omits failure modes (malformed hex, unsupported type) and whether payment is charged on failure.

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?

One front-loaded sentence naming the purpose and outputs, one short sentence for the offline guarantee, one for payment. Dense and all content is relevant; only minor cost is the comma-crammed return-value list.

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 2-parameter, no-annotations, no-output-schema tool, the description covers purpose, inputs at a high level, returned fields, offline behavior, and payment. The only meaningful gaps are the sig parameter's role and error behavior, which are secondary.

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 coverage is 100%, so both parameters are already documented in the schema and a 3 is the baseline. The description does clarify that the input must be a signed raw transaction (implying sender recovery) but never mentions the optional sig parameter or what providing signatures adds.

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?

States a specific verb and resource ("Decode a raw signed EVM transaction") and enumerates the supported envelope types (legacy/1559/4844/7702), which separates it from generic or non-EVM decoders such as sol_tx_decode. The returned fields (hash, chain, nonce, gas, sender, calldata) confirm exactly what the agent gets back.

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?

"Offline, no RPC" establishes the key precondition and implies use when no node access is available, but it never says when to pick this over decode_tx, raw_tx_decode, tx_decode, or evm_log_decode, nor any exclusion. Usage is inferable from the purpose but not routed.

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.