Skip to main content
Glama

Bitcoin Fee Rate Distribution

bitcoin_fee_rate_distribution
Read-onlyIdempotent

Compare Bitcoin Core's weight-based fee-rate percentiles across the latest 36 blocks. Includes median, interquartile range and weighted means of block summaries in sat/vB. Paid per call. Price: 45 sats or US$0.045 (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_fee_rate_distribution"
  }
}

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

A3.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, and closed-world behavior. The description adds meaningful context beyond them: the call is paid with a stated price of 45 sats or US$0.045 per call, and it discloses the metric scope returned (median, IQR, weighted means). It does not detail payment/auth flow or rate limits, so not 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three short sentences, front-loaded with the operation and scope, then metric detail, then pricing. Each sentence carries distinct information with no filler or repetition.

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?

For a read-only analytics call with zero required parameters, a fully documented payment schema, and no output schema, the description provides the essential scope, metrics, and per-call price. The main remaining gap is that it does not describe the return shape beyond naming the metrics, but it is still complete enough to call correctly.

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?

All three payment parameters (l402, pass, pay_with) are fully documented in the schema at 100% coverage, so the baseline is 3. The description adds no parameter-level meaning, such as how the payment options interact or when to choose one over another.

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?

Description names a specific analytical operation (compare weight-based fee-rate percentiles), resource (Bitcoin Core fee rates), and scope (latest 36 blocks), plus the included metrics (median, interquartile range, weighted means). It does not explicitly differentiate itself from sibling fee tools such as bitcoin_fee_estimates or bitcoin_fee_history, so it falls short of a 5.

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 explicit when-to-use/when-not-to-use guidance and no alternative tools are named. The purpose sentence implies a fee-rate comparison use case, but the agent must infer when to choose this over fee_estimates or fee_history; the pricing sentence is not usage guidance.

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