Skip to main content
Glama

Blockstream Bitcoin Explorer MCP

Get Bitcoin transaction details

get_bitcoin_transaction
Read-onlyIdempotent

Fetch full Bitcoin transaction details by 64-character hex txid including confirmation status, block height, fee, vsize, fee rate (sat/vB), and outputs.

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": "get_bitcoin_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
txidYes64-character hexadecimal Bitcoin transaction ID (txid).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds value by listing what the response contains, but says nothing about behavior for unconfirmed, unknown, or invalid txids (error vs empty result), which is the main residual uncertainty for a lookup tool.

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?

One front-loaded sentence with no filler; the verb and identifier type come first and the field list follows. Slightly dense enumeration but every element earns its place.

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, the description usefully compensates by naming the returned fields, and it covers the one required input. It is nearly complete for a simple single-parameter read, with the only gap being failure behavior for missing or malformed txids.

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 txid parameter, and the description's '64-character hex txid' phrasing simply restates the schema's minLength/maxLength and format note. Baseline 3 applies since the schema already carries full parameter meaning.

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 description states a specific verb (Fetch) plus resource (Bitcoin transaction details) and enumerates the returned fields (confirmation status, block height, fee, vsize, fee rate, outputs). Siblings all target different resources (address summary, UTXOs, fee estimates, network status), so the resource naming is enough for an agent to pick this tool without opening a schema.

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 infers it should call this when it has a txid and wants transaction data. There is no explicit when-to-use framing, no mention of the prerequisite that a txid must be obtained elsewhere (e.g., via address UTXOs), and no exclusions or named alternatives.

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.