Skip to main content
Glama

ScorpTech x402 Tools

Btc Fees

btc_fees
Read-onlyIdempotent

Use this when you are about to send Bitcoin and need the right fee rate. Bitcoin fee tiers (fastest / 30 min / 60 min / economy / minimum) in sat/vB with the estimated fee in sats, BTC and USD for your transaction size, plus mempool size and backlog, projected next 3 blocks (median fee, fee range), tip height and the next difficulty adjustment. mempool.space with Blockstream Esplora failover, cached 30 s. Returns JSON with: ok, data, sources, fetched_at, cache_age_s. Price: $0.005 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/btc-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": "btc_fees"
  }
}

Input Schema

NameRequiredDescriptionDefault
vbytesNotransaction virtual size for the fee estimate (default 141 = 1-in/2-out native SegWit; 60-100000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: mempool.space with Blockstream Esplora failover, a 30 s cache (with cache_age_s in the response), and the exact response keys. It even discloses cost ($0.005 USDC per successful call via x402) and an HTTPS mirror endpoint, which are behaviors an agent cannot infer from structured fields.

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 usage trigger is front-loaded, followed by output contents, data sources, response shape, and pricing in a logical order. It is dense but each clause carries information; the pricing sentence and mirror URL are the only parts an agent may not need on every call.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, but the description enumerates the response envelope (ok, data, sources, fetched_at, cache_age_s) and the payload contents (tiers, projected blocks, tip height, difficulty adjustment). For a single optional-parameter read-only oracle, nothing needed to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the vbytes parameter already has a descriptive default (141 = 1-in/2-out native SegWit) and range. The description reinforces the meaning by framing the output as "the estimated fee ... for your transaction size," tying the parameter to the returned values, though it adds no new syntax detail.

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

Purpose5/5

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

The description names a specific resource (Bitcoin fee tiers in sat/vB plus estimated sats/BTC/USD cost for a given transaction size) and a specific use moment (about to send Bitcoin). It is clearly a Bitcoin-chain fee oracle, which distinguishes it from chain-specific siblings like sol_priority_fees without needing to enumerate them.

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?

"Use this when you are about to send Bitcoin and need the right fee rate" gives an explicit trigger condition. It stops short of stating when NOT to use it or naming an alternative tool for non-Bitcoin chains, but the blockchain scoping is unambiguous.

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