Skip to main content
Glama

x402_bitcoin_get_v1_fees

Fetches Bitcoin block height and mempool fee estimates from mempool.space and Blockstream so agents can read on-chain BTC data before setting transaction fees.

Instructions

bitcoin — Bitcoin network stats: block height and mempool fee estimates (mempool.space + blockstream). Use when an agent needs on-chain BTC data. [GET /v1/fees] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/fees

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

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose genuinely useful behavior: the HTTP method, that the call is paid ($0.005 USDC across four EVM chains), and which upstream providers serve the data. It stops short of describing response shape or failure/retry behavior, though the restart and operationId parameters hint at paid-call semantics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The text is front-loaded with purpose and pricing, which is good, but the trailing "Example: /v1/fees" merely repeats the route already given in the bracketed "[GET /v1/fees]" and earns no place. The category blurb also spends words on block height that this endpoint does not serve.

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?

There is no output schema, so the description should say what fee data comes back (tiers, units such as sat/vB, freshness), and it does not. Payment cost and providers are covered, but an agent cannot anticipate the response or tell how this differs in output from the height sibling.

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 four parameters (body, query, restart, operationId) are documented in the schema, so the baseline is 3. The description adds nothing about which query parameters are meaningful for a fees lookup, but it is not obligated to under full coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete resource ("mempool fee estimates") and the upstream data sources (mempool.space + blockstream), plus the route /v1/fees. However, it opens with "Bitcoin network stats: block height and mempool fee estimates," which blurs the boundary with the sibling x402_bitcoin_get_v1_height and the mempool-space fees sibling, leaving an agent unsure which endpoint actually returns fee tiers versus height.

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?

"Use when an agent needs on-chain BTC data" is only an implied usage condition; it gives no when-not guidance and does not point to the height or mempool-space-recommended alternatives that clearly overlap with this tool. The agent must infer selection from sibling names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools