Skip to main content
Glama
btc-explorer-mcp

btc-explorer-mcp

get_transaction

Read-only

Look up a Bitcoin transaction by its 64-hex txid to retrieve value, fee, confirmations, inputs, outputs, and a plain-English explanation of what the transaction does.

Instructions

Get a Bitcoin transaction by txid. Returns value, fee, confirmations, inputs/outputs and a plain-English explanation. Data: Bitcoin.com Explorer.

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_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
txidYes64-hex transaction ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description's added value is the return surface (value, fee, confirmations, inputs/outputs, plus a plain-English explanation) and the upstream source, Bitcoin.com Explorer — which signals an external network dependency. It stops short of mentioning rate limits, not-found behavior for an invalid txid, or what confirmations=0 means, so it is not fully transparent.

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?

Three short sentences, front-loaded with the action and resource, then the return payload, then provenance. Nothing is redundant and every clause adds information.

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 only one parameter, the description is nearly sufficient: it names the returned fields and the data source. The remaining gap is failure/edge-case behavior (invalid or unknown txid, unconfirmed transactions), which an agent may need when calling against an open-world explorer.

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?

The single parameter has a 64-hex pattern and its own description in the schema, so coverage is 100% and the schema does the heavy lifting. The phrase "by txid" in the description adds no format or validation detail beyond what the schema already provides, so the baseline of 3 applies.

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?

States a specific verb and resource ("Get a Bitcoin transaction by txid") and immediately enumerates what comes back. The resource is unambiguous against siblings get_address, get_block, and get_chain_tip, so an agent can select it without inspecting any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance at all — nothing tells the agent what to do if it lacks a full 64-hex txid or how this differs from the sibling 'search' tool. Usage is only inferable from the name pattern 'get X by ID'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.