Skip to main content
Glama

Bitcoin data

get_btc_data
Read-onlyIdempotent

Use this when an agent needs Bitcoin data. For the current Bitcoin price (BTC/USD, btc price), start with kind="intuitive" (the default; also get_bitcoin_price): a multi-source price with a Data BitScore. Fees and mempool are kind="stats" (btc_oracle is a deprecated alias); ecosystem stats kind="pro"; sentiment kind="signals". Returns JSON in the data field with source attribution. Read-only; the only side effect is the payment you choose to make. Kinds and prices:

  • kind="intuitive": 10 sats or $0.01 USDC. Use this for the current Bitcoin price (BTC/USD, btc price) when a wrong quote costs money and one source is not enough: sizing a trade, settling an invoice in USD, or any decision a bot cannot take back. Returns a price checked across independent sources, with pair, price_usd and a Data BitScore (confidence, agreement, spread, freshness). No params.

  • kind="stats": 50 sats or $0.05 USDC. Use this when an agent needs a Bitcoin network snapshot: fee rates (fast, average, slow sat/vB), mempool congestion, hash rate, difficulty, block height, plus the BTC price. Returns market, on_chain, fees. No params. Example: GET /api/v1/data/btc_stats or MCP get_btc_data(kind="stats"). 50 sats or $0.05 USDC.

  • kind="pro": 100 sats or $0.10 USDC. Use this when researching or monitoring the Bitcoin ecosystem: everything in btc_stats plus Lightning capacity, channel and node counts and daily miner revenue. Returns market, on_chain, lightning, mining. No params. Example: GET /api/v1/data/btc_pro or MCP get_btc_data(kind="pro"). 100 sats or $0.10 USDC.

  • kind="signals": 200 sats or $0.20 USDC. Use this when a research agent needs Bitcoin sentiment and trend context: Fear & Greed, percent from all-time high, momentum, volatility regime and 24h transactions. No params. Example: GET /api/v1/data/btc_signals or MCP get_btc_data(kind="signals"). Informational only, not investment advice. 200 sats or $0.20 USDC. Payment: Pay by calling without a credential, paying the Lightning invoice or the USDC amount, then retrying with l402_credential=':' or x402_payment. One payment buys one response. Details: https://api.bittuitive.ai/pay. Informational only; not financial, investment, legal or tax advice; provided as-is, with no warranty; verify before acting. https://api.bittuitive.ai/disclaimer.

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

Input Schema

NameRequiredDescriptionDefault
kindNoProduct to fetch. Every kind, its price and when to use it are listed in the tool description. Defaults to "intuitive".
credit_tokenNoPrepaid token (btf_..., from buy_credits). Pays this call from your prepaid sats or USDC balance with no invoice; a failed call is refunded. Balance is non-refundable.
x402_paymentNox402 payment (USDC on Base): base64 PaymentPayload signed for accepts[0] of the payment_required result. Alternative to l402_credential; also accepted in params._meta['x402/payment'].
l402_credentialNoL402 credential '<macaroon>:<preimage_hex>' from a paid invoice (or an active subscription). Omit it on the first call to receive the Lightning invoice and macaroon.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"Product to fetch. Every kind, its price and when to use it are listed in the tool description. Defaults to \"intuitive\" (recommended Bitcoin price, BTC/USD)."New value: +"Product to fetch. Every kind, its price and when to use it are listed in the tool description. Defaults to \"intuitive\"."
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "intuitive",
      -  "price",
      -  "price_fresh",
      -  "price_lite",
      -  "oracle",
      -  "pro",
      -  "signals"
      -]New value: +[
      +  "intuitive",
      +  "stats",
      +  "pro",
      +  "signals"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"Product to fetch. Every kind, its price and when to use it are listed in the tool description."New value: +"Product to fetch. Every kind, its price and when to use it are listed in the tool description. Defaults to \"intuitive\" (recommended Bitcoin price, BTC/USD)."
    • changedInput schema / required
      Previous value: -[
      -  "kind"
      -]New value: +[]
  3. Changed1 schema field changed
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "intuitive",
      -  "verified",
      -  "price",
      -  "price_fresh",
      -  "price_lite",
      -  "oracle",
      -  "pro",
      -  "signals"
      -]New value: +[
      +  "intuitive",
      +  "price",
      +  "price_fresh",
      +  "price_lite",
      +  "oracle",
      +  "pro",
      +  "signals"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "price",
      -  "price_fresh",
      -  "price_lite",
      -  "oracle",
      -  "pro",
      -  "signals"
      -]New value: +[
      +  "intuitive",
      +  "verified",
      +  "price",
      +  "price_fresh",
      +  "price_lite",
      +  "oracle",
      +  "pro",
      +  "signals"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / kind / description
      Previous value: -"Which product to fetch; see the price of each in the tool description."New value: +"Product to fetch. Every kind, its price and when to use it are listed in the tool description."
  6. Added

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely non-obvious behavior the annotations cannot express: the paid nature of every call, per-kind pricing, and the 'only side effect is the payment' framing. However, the full payment mechanics (invoice, macaroon, retry) are pushed to an external URL rather than explained inline, so the disclosure is partial.

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 bulleted kind breakdown is well structured and front-loaded, but there is real waste: '50 sats or $0.05 USDC' appears twice inside the same bullet, the same pattern repeats for every kind, and the 'informational only, not investment advice' caveat plus disclaimer URL are restated at the end. Roughly a fifth of the text could be cut without losing information.

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?

With no output schema, the description carries the return-shape burden and does so per kind (pair/price_usd/Data BitScore; market/on_chain/fees; plus lightning; plus sentiment metrics). Combined with pricing and the payment path, an agent has enough to call correctly and anticipate the response.

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 each parameter is already documented in the schema, so the baseline is 3. The description earns a step above baseline by attaching price, decision criteria and return-field shape to each enum value of `kind`, which the schema itself only points back to. It adds little for credit_token/x402_payment/l402_credential beyond what the schema states.

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 verb and resource (fetch Bitcoin data) and immediately decomposes it into four named kinds with distinct payloads. It also disambiguates against siblings by noting that kind="intuitive" is 'also get_bitcoin_price' and that btc_oracle is a deprecated alias, so an agent can tell where this tool sits relative to related ones.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Each kind carries an explicit use case — intuitive for 'when a wrong quote costs money', stats for a network snapshot, pro for ecosystem research/monitoring, signals for sentiment and trend context. The description also states the default and names the sibling that duplicates the default behavior, leaving nothing to inference about which kind to pick.

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