Skip to main content
Glama

Beggar Bot

sol_tx_decode

Decode a Solana transaction (base64/base58, legacy or v0): accounts, lookup tables, System/SPL Token/ATA/ComputeBudget/Memo instructions, USDC/SOL transfer summary, fees, Ed25519 signature checks. 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": {
      "tx": "<tx>"
    },
    "name": "sol_tx_decode"
  }
}

Input Schema

NameRequiredDescriptionDefault
txYesserialized transaction (base64 or base58)
encodingNobase64 or base58 (auto)
message_onlyNotrue if input is a bare message

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 full disclosure burden and does a lot of it: offline execution with no RPC dependency, supported encodings, legacy vs v0 message handling, signature verification, and a concrete cost of $0.02 USDC via x402 — a material behavioral fact an agent must know before invoking. Gaps remain on failure behavior (malformed/unsupported tx) and payment flow mechanics (what happens if payment is declined).

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?

A single dense sentence, but it is front-loaded with verb and resource, and each clause (encodings, instruction coverage, summary fields, offline mode, price) carries distinct information. Slightly list-like and would read better with the payment term broken out, but there is no filler.

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?

With no output schema and no annotations, the description compensates by enumerating the returned content — accounts, lookup tables, decoded instruction types, transfer summary, fees, signature checks — which is exactly what an agent needs to judge fitness. The remaining shortfall is error/edge-case behavior and how the x402 payment step is actually satisfied.

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%, so all three parameters are already documented in the input schema, making 3 the baseline. The description adds modest value by confirming base58 is supported alongside base64 and that both legacy and v0 messages are accepted, but it adds nothing about the message_only flag or the encoding auto-detection beyond what the schema states.

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?

Opens with a specific verb+resource ('Decode a Solana transaction') and immediately scopes the inputs (base64/base58, legacy or v0) and outputs (accounts, lookup tables, instruction families, transfer summary, fees, signature checks). The 'Solana' qualifier plus the explicit instruction-family list distinguishes it cleanly from evm_tx_decode, raw_tx_decode and abi_decode siblings.

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?

Gives real contextual signals for when this is the right call — 'Offline, no RPC' tells the agent this works without a node connection, and the price tag signals a paid path. However, it never names an alternative or an exclusion (e.g. when to prefer raw_tx_decode or tx_decode, or which chains/versions are unsupported), so the agent must infer sibling selection from names alone.

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.