Skip to main content
Glama

Transaction merkleblock proof

get_tx_merkleblock_proof
Read-onlyIdempotent

Get the merkleblock proof for a transaction (BIP37 format, hex encoded).

Mempool.space docs

REST operation: GET /api/tx/{txid}/merkleblock-proof.

Input Schema

NameRequiredDescriptionDefault
txidYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / $defs / Txid / description
      Previous value: -"Transaction ID (hash)"New value: +"A transaction ID: its hash."
    • addedInput schema / $defs / Txid / pattern
      Added value: +"^[0-9a-f]{64}$"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "Hex": {
      +      "pattern": "^([0-9a-f]{2})*$",
      +      "type": "string"
      +    }
      +  },
      +  "$ref": "#/$defs/Hex",
      +  "$schema": "https://json-schema.org/draft/2020-12/schema"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so safety is covered. The description adds the BIP37 serialization and hex encoding, which is useful behavioral context, but says nothing about error behavior for unconfirmed or unknown txids, or the size/shape of the returned proof.

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?

Two short paragraphs: the capability and format first, then docs link and REST route. No filler; the REST operation line is arguably redundant with the docs link but is small and useful for mapping to the API.

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

Completeness3/5

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

With one required parameter and an output schema present, the description is nearly sufficient; the main missing element is the distinction from get_tx_merkle_proof, which is essential for correct tool selection among ~80 siblings.

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 reported as 0%, and the description only says 'for a transaction' without explaining the txid format. The schema itself supplies a 64-hex pattern and worked examples, so the agent can still construct the call, but the description does not compensate for the coverage gap.

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?

States a specific verb and resource: fetch the merkleblock proof for a transaction, with format qualifiers (BIP37, hex encoded) and the underlying REST route. It does not, however, distinguish itself from the sibling get_tx_merkle_proof, which an agent could easily confuse with this one.

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 statement of when to use this versus get_tx_merkle_proof or get_tx_hex, and no prerequisites noted (e.g. whether the transaction must be confirmed for a merkleblock to exist). The docs link hints at context but leaves selection 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.