TxWhy
Server Details
Failed Solana transaction in, working transaction out. Exact cause, rebuilt tx, verifiable repair.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 3 tools
repair_transaction is clearly distinct (returns a rebuilt tx), but diagnose_transaction and explain_error both explain failure causes and could be confused; the descriptions resolve this by noting explain_error is for when you only have a code. Boundaries are mostly clear with a minor overlap in the error-explanation space.
All three tools follow a consistent snake_case verb_noun pattern: diagnose_transaction, explain_error, repair_transaction. The convention is predictable and readable throughout.
Three tools is lean but defensible for a narrowly scoped transaction diagnosis-and-repair server. Each tool earns its place with a distinct role, though the surface is on the small side.
The set covers the full lifecycle for its purpose: find the failure (diagnose), interpret a raw error code (explain_error), and produce a working replacement (repair). No obvious dead ends, though there is no standalone simulation/inspection tool for arbitrary non-failing transactions.
Available Tools
3 toolsdiagnose_transactionDiagnose a failed Solana transactionAInspect
Explains why a transaction that landed on mainnet failed: the exact failing instruction in the call tree, the named error, its cause, and how to fix it. Read-only and fast. Use repair_transaction when you want a working transaction back.
Inputs: signature (required).
explain_errorExplain a Solana program error codeAInspect
Looks up what a custom program error code means for a given program, using 1,800+ named errors from major Solana programs plus the runtime's own errors. Use it when you only have a code such as 6001 or 0x1771 from a simulation or an RPC response.
Inputs: code (required), programId (required).
repair_transactionRepair a Solana transactionAInspect
Give it a Solana transaction that failed, or one you are about to send. It finds the cause and returns a rebuilt UNSIGNED transaction that has been simulated against live mainnet state to prove it passes. Fixes expired blockhashes, compute-unit limits, priority fees, loaded-data limits, slippage on plain Jupiter swaps (fresh quote, same tolerance), and slippage on direct Pump.fun, PumpSwap, Raydium AMM v4, Meteora DBC and Meteora DAMM v2 swaps (only the limit moves, never more than 25% against the user). Handles legacy, v0 and version 1 (SIMD-0385) transactions and durable nonces. When the failure cannot be fixed by rebuilding (not enough funds, a private program's own error), it says so and explains why instead of returning something that would fail again. Pass exactly one of transaction or signature. Sign the returned transaction with your own key and send it within about 60 seconds.
Inputs: signature, transaction.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Solana transaction diagnosis, simulation, token-risk evidence, and priority fees via x402 USDC.
Solana 10-layer rug audit, /audit/<mint> feeds, CPI tx sim, and ATA rent scanner via x402.
Solana 10-layer rug audit, /audit/<mint> feeds, CPI tx sim, and ATA rent scanner via x402.
Pre-sign Solana tx guard for agents: ALLOW/WARN/BLOCK verdict, x402 USDC pay-per-call.
Related MCP Servers
- AlicenseAqualityBmaintenanceDecodes Solana transaction failures: 202 error codes across Jupiter, Raydium (CPMM/CLMM/AMM/LaunchLab), Orca, Meteora, pump.fun, SPL Token and Token-2022. Look up any error code by hex or decimal and get every program's meaning with causes, fixes and cross-program collision context.43MIT
- AlicenseNot gradedqualityDmaintenanceExtends Solana debugging to AI agents via MCP: decode transaction failures, trace CPI trees, and profile compute for any Solana transaction.MIT
- AlicenseNot gradedqualityBmaintenanceEnables live Solana Token-2022 forensic audits, Jupiter v6 quote/swap rescue, and Jito bundleOnly-protected safe-swap/safe-exit transaction building for AI agents and trading bots.MIT
- AlicenseBqualityBmaintenanceEnables comprehensive Solana blockchain interactions including wallet management, SOL and SPL token transfers, token creation and minting, account operations, and network switching across mainnet, devnet, testnet, and localhost.25124 npm2MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.