Skip to main content
Glama

Verify transaction inclusion receipt

verify
Idempotent

Generate a verified Bitcoin Core Merkle inclusion receipt for one to five transactions in one retained block. locator=blockhash:txid[,txid...]. Verify against a trusted header chain. Does not establish unspentness or irreversible finality. Price: 20 sats or US$0.02 (USDC) per call.

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": {
      "locator": "<locator>"
    },
    "name": "verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
l402NoOptional. After paying the Lightning invoice: '<token>:<preimage>'.
passNoOptional. A Diamond budget token (dp_...) that your user approved once (from US$0.89; USDC or other Base tokens, or Lightning) or that you funded with the free diamond_budget tool. Each call deducts its price; no wallet needed in the agent.
locatorYes64-character block hash, colon, and one to five comma-separated unique transaction ids in that block.
pay_withNoOptional. 'lightning' requests a BOLT11 invoice and a token when Diamond can receive Lightning payments.

Output Schema

NameRequiredDescriptionDefault
txidsYes
productYes
proof_hexYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / pay_with / description
      Previous value: -"Optional. 'lightning' returns a BOLT11 invoice and a token instead of the x402 payment request."New value: +"Optional. 'lightning' requests a BOLT11 invoice and a token when Diamond can receive Lightning payments."
  2. Changed1 schema field changed
    • changedInput schema / properties / pass / description
      Previous value: -"Optional. A Diamond pass (dp_...) that your user funded in a browser (USDC on Base or Lightning, from US$1). Each call deducts its price; no wallet needed in the agent."New value: +"Optional. A Diamond budget token (dp_...) that your user approved once (from US$0.89; USDC or other Base tokens, or Lightning) or that you funded with the free diamond_budget tool. Each call deducts its price; no wallet needed in the agent."
  3. Changed1 schema field changed
    • addedInput schema / properties / pass
      Added value: +{
      +  "description": "Optional. A Diamond pass (dp_...) that your user funded in a browser (USDC on Base or Lightning, from US$1). Each call deducts its price; no wallet needed in the agent.",
      +  "type": "string"
      +}
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, openWorldHint=true and idempotentHint=true, and the description supplies the reason a "verify" call is nevertheless a non-read-only operation: it is paid, at "20 sats or US$0.02 (USDC) per call." The explicit disclaimer about unspentness and finality is genuine behavioral context beyond the annotations. What is missing is any note on whether a receipt is retrievable later or whether "retained block" implies a retention window that can cause a miss.

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?

Five short sentences, each front-loaded and each doing work: purpose, locator format, trust model, limitation, price. No filler. The telegraphic locator-syntax line is terse but appropriate for its audience.

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 an output schema present the description needn't explain return values, and it correctly spends its words on the payment model, the trust assumption and the explicit limitations instead. The remaining gap is practical rather than semantic: failure modes such as a block outside retention are not mentioned.

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%, so the schema already documents locator, l402, pass and pay_with. The description restates the locator shape as "blockhash:txid[,txid...]" and the per-call price, but adds no meaning about the payment parameters that the schema does not already carry. Baseline 3 is appropriate when structured fields do the heavy lifting.

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 opens with a specific verb and resource: "Generate a verified Bitcoin Core Merkle inclusion receipt," scoped to "one to five transactions in one retained block." That is far more precise than a generic "verify" and rules out address or mempool queries, though it never distinguishes itself from nearby siblings such as bitcoin_transaction_status or analyze.

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

Usage Guidelines4/5

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

The locator syntax line shows exactly what input the call expects, and "Verify against a trusted header chain" plus "Does not establish unspentness or irreversible finality" state the condition and the limits of the answer. It stops short of naming an alternative tool when an agent needs unspentness or finality, so the routing is implied rather than explicit.

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