Skip to main content
Glama

Bitcoin fee rates and mempool status: Bitcoin fee estimate in sat/vB for the next block, half hour and hour, with mempool size

btc_fees
Read-only

Current Bitcoin network fee rates in sat/vB for next-block, half-hour, one-hour and economy confirmation, the estimated cost in sats of a typical payment, mempool size and total pending fees, and the latest block height. Use before sending a Bitcoin transaction or to decide whether to wait for lower fees. Price $0.002/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": "btc_fees"
  }
}

Input Schema

NameRequiredDescriptionDefault
onlyNoOptional: comma-separated top-level result keys to keep, for a smaller answer (for example only=price,symbol); unknown keys are ignored and an empty match returns the full result

Output Schema

NameRequiredDescriptionDefault
feesYes
unitYes
sourceYes
mempoolYes
networkYes
checkedAtYesServer retrieval time in UTC. Upstream endpoints are not an atomic snapshot.
blockHeightYes
limitationsYes
typicalPaymentSatsYes
typicalPaymentVbytesYesIllustrative transaction-size assumption; not the buyer's transaction size.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / only / description
      Previous value: -"Optional: comma-separated top-level result keys to keep, for a smaller answer (for example only=fastestFee,halfHourFee); unknown keys are ignored and an empty match returns the full result"New value: +"Optional: comma-separated top-level result keys to keep, for a smaller answer (for example only=price,symbol); unknown keys are ignored and an empty match returns the full result"
  2. Changed1 schema field changed
    • addedInput schema / properties / only
      Added value: +{
      +  "description": "Optional: comma-separated top-level result keys to keep, for a smaller answer (for example only=fastestFee,halfHourFee); unknown keys are ignored and an empty match returns the full result",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With annotations already declaring readOnlyHint, openWorldHint and destructiveHint=false, the description goes further by disclosing commercial behavior the annotations cannot express: $0.002/call via x402 USDC or a card key, first 10 free, failed calls free, and the caveat that 'each call is charged, so repeats are not free' — directly explaining why idempotentHint is false. It also confirms 'reads or computes only and changes nothing,' which is consistent with, not contradictory to, the safety annotations.

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?

The payload is front-loaded in the first sentence and each following sentence covers usage, pricing, and safety in order. The first sentence is a dense list that partly duplicates the output schema, but nothing is redundant filler.

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?

An output schema exists, so return values need not be spelled out, and the annotations carry the safety profile; the description still rounds this out with cost/auth requirements and when-to-use advice. The only missed opportunity is noting how the `only` filter interacts with the field list it just enumerated, or pointing to the sibling btc_price for price data.

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?

There is a single optional parameter (`only`), and schema description coverage is 100%, so the schema already explains filtering and unknown-key handling in detail. The description adds nothing about it, but the high coverage baseline of 3 is appropriate.

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 resource and enumerates the exact data returned: fee rates in sat/vB for next-block, half-hour, one-hour and economy confirmation, plus sats cost of a typical payment, mempool size, pending fees, and block height. That is far more specific than the title alone and an agent would not confuse it with btc_price or btc_address. It stops short of naming any sibling, so it does not earn a 5 on differentiation.

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?

It gives explicit use contexts: 'Use before sending a Bitcoin transaction or to decide whether to wait for lower fees,' which tells the agent when this tool is the right call. There are no exclusions or named alternatives (e.g., whether to prefer this over btc_price for cost estimation), so it falls short of full when/when-not 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