Skip to main content
Glama

Bitcoin Merchant Payment Receipt

bitcoin_merchant_payment_receipt
Read-onlyIdempotent

Bitcoin Merchant Payment Receipt: match one transaction's receiving output script and whole sats to your order minimum and confirmation threshold. Delivers a machine-readable receipt with original transaction bytes and an active-chain Merkle inclusion proof. No charge for pending, mismatched or unavailable observations. Requires the transaction's block hash on this pruned mainnet node. Paid per call. Price: US$0.02 (USDC on Base) 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": {
      "match": "<match>"
    },
    "name": "bitcoin_merchant_payment_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
matchYesblockhash:txid:receiving_address:minimum_sats:confirmations. Use 64-hex block and transaction hashes, a mainnet address, whole sats, and 1 to 2016 confirmations.
pay_withNoDirect USDC on Base

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered; the description adds genuinely new behavior: it returns original transaction bytes plus an active-chain Merkle inclusion proof, it charges nothing for pending, mismatched or unavailable observations, and it is billed per call at US$0.02 USDC on Base. It still does not say what an error or failed-match response looks like, so it stops short of a 5.

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 compact sentences, each carrying distinct information: matching semantics, output contents, billing exceptions, prerequisite, and price. The only waste is the leading restatement of the tool title, which duplicates structured data. Front-loading the core matching behavior is done well.

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 must characterize the return value, and it does: a machine-readable receipt containing original transaction bytes and a Merkle inclusion proof. Combined with the pruned-node prerequisite and per-call pricing, an agent has enough to decide and invoke correctly; finer details such as the response envelope or failure payloads are the only gap.

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% and the schema already documents the colon-delimited match format (blockhash:txid:receiving_address:minimum_sats:confirmations) and the pay_with enum. The description restates the same requirements in prose (whole sats, confirmation threshold, block hash) without adding format rules or edge cases such as address-type restrictions. Baseline 3 is appropriate when the schema does 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 names a specific verb and resource: it matches one transaction's receiving output script and whole sats against an order minimum and confirmation threshold, and returns a machine-readable receipt with Merkle proof. That is far more concrete than the sibling read tools (status, decode, block header), though it never names an alternative tool for the simpler case, so sibling differentiation is implicit rather than explicit.

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?

Preconditions are stated clearly: the transaction's block hash must exist on this pruned mainnet node, and inputs must be a single match string. However, there is no statement of when to prefer this over bitcoin_transaction_status or bitcoin_decode_transaction for a plain status/lookup, and no exclusions. Usage is implied by the matching scenario, not spelled out.

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