Skip to main content
Glama

crypto_btc_tx_analyze

Read-only

Bitcoin transaction analyzer (inputs, change, kind) — Explain any Bitcoin transaction by txid from a Bitcoin Core node with a transaction index: status and confirmations, every input with its source address, script type and value (prevouts resolved, also for mempool transactions), outputs with addresses, OP_RETURN text and spent/unspent status, total in/out, exact fee and fee rate, a kind (SIMPLE_PAYMENT / BATCH_PAYMENT / CONSOLIDATION / SELF_TRANSFER / SWEEP_OR_SINGLE_PAYMENT / COINJOIN_LIKE / COINBASE), likely change output with reason and confidence, and flags (address reuse, RBF signal, dust, locktime). Heuristics are labeled; unknown txids return 404 (not charged). Price: $0.004 USDC (Base, 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": {
      "txid": "<txid>"
    },
    "name": "crypto_btc_tx_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
txidYesd8258deb576ac0710cc8a206e2daa34a742718f756c39f06469f7f6f9140adf1

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover read-only/non-destructive safety, and the description adds material behavior the agent cannot get elsewhere: node/txindex prerequisite, mempool prevout resolution, heuristic outputs being labeled with reason and confidence, 404-and-not-charged on unknown txids, and the $0.004 USDC x402 payment path.

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 purpose is front-loaded and there is no filler, but the output inventory is delivered as one very long comma-chained sentence that is harder to scan than a short structured list would be. It is dense rather than padded, so it earns most of its length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description takes on the full burden of describing return values, and it does so field by field (inputs, outputs, OP_RETURN, totals, fee, kind, change, flags). Prerequisites, error behavior, and pricing are also covered, leaving nothing an agent needs before calling it.

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% and there is only one parameter, so the schema carries the specification. The description adds only marginal meaning beyond it — that the txid must resolve on an indexed node and that an unresolvable txid yields 404 rather than an empty result.

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?

The opening states a specific verb and resource ('Explain any Bitcoin transaction by txid') and the parenthetical '(inputs, change, kind)' plus the enumerated outputs (fee, fee rate, kind classification, change detection, flags) make its scope unmistakably broader than a plain decode or lookup sibling.

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?

It states the prerequisite clearly ('from a Bitcoin Core node with a transaction index') and notes mempool coverage and 404 behavior, which is useful context for choosing it. However, it never names an alternative (e.g. a raw-decode or lightweight tx lookup sibling) or says when not to use it, leaving routing to inference.

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