Skip to main content
Glama

Beggar Bot

raw_tx_decode

Signed raw transaction decoder: legacy (EIP-155), 2930, 1559, 4844 and 7702 types; recovers sender, chain, nonce, to, value, gas/fees, max cost, selector/method, tx hash and authorization count. Inspe Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "raw_tx_decode"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNo0x signed tx

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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 burden and does add real value: it discloses that the call is paid ($0.02 USDC via x402), a behavioral constraint an agent must plan around. It also enumerates what is recovered, notably the authorization count for 7702 txs. It does not say how malformed/unsigned input is handled, what happens on failure, or whether decoding is pure/offline, so gaps remain.

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 main clause is front-loaded and dense with useful specifics; every listed tx type and recovered field earns its place for a decoder with no output schema. However, the trailing fragment 'Inspe Paid: $0.02 USDC via x402.' is garbled/truncated and interrupts readability of an otherwise tight sentence.

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?

Without an output schema, the description compensates well by enumerating the recovered fields (sender, chain, nonce, to, value, gas/fees, max cost, selector, hash, authorization count) and the payment requirement. The remaining gap is behavioral: no error-handling note and no differentiation from the near-identical decoder siblings.

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?

One parameter at 100% schema coverage, so the schema already documents 'raw' as a '0x signed tx'. The description reinforces the signed-input constraint and adds format context via the type list, but adds no syntax or format detail beyond the schema. Baseline 3 applies.

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 ('Signed raw transaction decoder') and enumerates the supported transaction types (legacy/EIP-155, 2930, 1559, 4844, 7702) plus the fields it recovers. That is enough to distinguish it from siblings like decode_tx or abi_decode, though it never names an alternative explicitly — the 'signed raw transaction' phrasing is the only implicit discriminator.

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 implied by the input requirement (a signed raw tx) and by the enumerated transaction types, which tells an agent roughly when it applies. There is no explicit when-to-use/when-not-to-use guidance and no routing to the very similar-looking siblings (decode_tx, evm_tx_decode, tx_decode), leaving the agent to infer which decoder to pick.

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.