Skip to main content
Glama

txtrace

Read-only

Solana transaction trace: status, slot, fee, SOL balance changes, first 20 log lines — $0.005 USDC per call via x402 v2 (Solana or Base).

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": {
      "signature": "<signature>"
    },
    "name": "txtrace"
  }
}

Input Schema

NameRequiredDescriptionDefault
signatureYesSolana transaction signature (base58)

Output Schema

NameRequiredDescriptionDefault
okYes
slotNo
statusNo
fee_solNo
blockTimeNo
signatureNo
logs_first_20No
sol_balance_changesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / signature / description
      Added value: +"Solana transaction signature (base58)"
    • addedInput schema / properties / signature / example
      Added value: +"2b96kfbbxdTUSVLFeRWVGoUmHR1rkgni4zR2rjxzBKo929CBP8kTSP3ns9iDk58Dncnt9Fqarq68UcYFGgBwEANY"
    • addedInput schema / properties / signature / pattern
      Added value: +"^[1-9A-HJ-NP-Za-km-z]{64,90}$"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "blockTime": {
      +      "type": "integer"
      +    },
      +    "fee_sol": {
      +      "type": "number"
      +    },
      +    "logs_first_20": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "signature": {
      +      "type": "string"
      +    },
      +    "slot": {
      +      "type": "integer"
      +    },
      +    "sol_balance_changes": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "status": {
      +      "enum": [
      +        "ok",
      +        "err"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With readOnlyHint and openWorldHint already supplied, the description adds real behavioral context the annotations do not: the call is paid ($0.005 USDC via x402 v2 on Solana or Base) and log output is truncated to the first 20 lines. It stops short of explaining payment-failure behavior or whether the truncation is configurable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One tightly packed sentence with the resource and returned fields front-loaded, followed by the truncation limit and the price/payment rail. No filler, and every clause conveys information an agent needs.

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?

An output schema exists, so return-value explanation is not required, and the description still discloses truncation and cost, which the structured fields cannot. The one remaining gap is payment/auth failure semantics for a metered x402 call.

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% for the single parameter, including a base58 pattern and a worked example, so the schema carries the parameter burden. The description adds nothing about the signature itself, which is the expected baseline at high coverage.

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?

The description names a specific verb and resource ('Solana transaction trace') and enumerates exactly what is returned: status, slot, fee, SOL balance changes, and the first 20 log lines. That content profile clearly separates it from siblings like balance or tokenSafety, 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: an agent can infer it should call this when it has a transaction signature and wants trace-level detail, but there is no explicit when-to-use/when-not statement and no routing to alternatives such as drainForensics for deeper analysis.

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