Skip to main content
Glama

Bitcoin Payment Operations Brief

bitcoin_payment_ops
Read-onlyIdempotent

Payment operations brief for Bitcoin wallets: observed mempool fee pressure, the projected next four blocks, and whole-sat fee budgets for 140, 220, 350 and 1,000 vB at 2, 6 and 24 blocks. Paid per call. Price: 12 sats or US$0.012 (USDC) per call.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bitcoin_payment_ops"
  }
}

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.
pay_withNoOptional. 'lightning' requests a BOLT11 invoice and a token when Diamond can receive Lightning payments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, idempotentHint=true, openWorldHint=false), so the description's job is to add what they cannot: it discloses that the call is paid and states the exact price in both sats and USDC, which materially changes agent behavior around invocation. What it omits is the payment negotiation itself, i.e. what a first unpaid call returns (an invoice/L402 challenge) and how the token from the schema is then used, which is the highest-risk unknown for this 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?

Two sentences, front-loaded with the payload before the commercial terms, with no filler or marketing prose. Minor waste: 'per call' appears twice and 'Paid per call' is redundant with the explicit price sentence.

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?

For a zero-required-parameter, closed-world read tool with no output schema, the content description is reasonably complete and the parameter documentation is fully handled by the schema. The gap is the paid-invocation lifecycle: an agent still cannot tell from this definition what happens on an unpaid call, whether repeated calls are billed twice, or how the 402/invoice response should be handled.

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% and all three parameters (l402, pass, pay_with) are individually documented in the schema, so the baseline is 3. The description adds only an indirect hint at pricing relevant to 'pass' deductions, and nothing about when to choose 'pay_with: lightning' versus paying per call or the token format expectations.

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 the concrete payload: observed mempool fee pressure, the projected next four blocks, and whole-sat fee budgets across specific vB sizes (140/220/350/1,000) and confirmation targets (2/6/24). That is a specific, verifiable resource, not a tautology. It does not, however, distinguish itself from close siblings such as bitcoin_fee_estimates, bitcoin_mempool_blocks or bitcoin_transaction_eta, so an agent cannot route between them from this text alone.

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 guidance, no exclusions, and no named alternative. The description never says to prefer this over bitcoin_fee_estimates for fee budgeting or over bitcoin_mempool_blocks for block projection. The only selection signal is the price, which tells the agent about cost but not about fitness for a task.

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