Skip to main content
Glama

crypto_btc_difficulty

Read-only

Bitcoin difficulty adjustment estimate — Bitcoin mining difficulty and next retarget from a Bitcoin Core node: current difficulty and bits, epoch number, blocks mined and remaining in the 2016-block epoch, next retarget height and estimated time, estimated difficulty change (percent, UP/DOWN/FLAT, projected new difficulty, confidence by epoch progress), average block time this epoch, the previous retarget's change, and network hashrate (EH/s, node estimate and implied by difficulty). Serves the last good reading (flagged stale) if the node is unreachable. Price: $0.002 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description earns credit for the things annotations cannot say: the data originates from a Bitcoin Core node, that node failure yields a last-good reading explicitly flagged stale, and the confidence value scales with epoch progress. It also discloses cost ($0.002 USDC via x402). Only minor gaps remain — no note on caching/freshness window beyond 'last good reading' or on failure when no cached reading exists.

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?

It is a single long sentence, but it is front-loaded with the core purpose before the field list, so an agent gets the identity immediately. The field enumeration is long yet earns its place because there is no output schema; nothing is redundant, though the phrase 'Bitcoin' recurs more than necessary.

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 and no parameters, the description carries the full descriptive burden and discharges it: it names every returned quantity, discloses the stale-fallback behavior, states the data source, and states the price. An agent needs nothing further in order to select and call this tool correctly.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate at the input level; the baseline for a parameterless tool applies. The field enumeration in the description serves the output side instead, which the schema does not cover.

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 opens with a specific verb+resource ('Bitcoin difficulty adjustment estimate') and immediately constrains the data source to a Bitcoin Core node, which cleanly separates it from sibling tools like crypto_btc_fees or crypto_btc_halving. It then enumerates the exact quantities returned (current difficulty, epoch progress, retarget height, estimated change, hashrate), so an agent knows precisely what this tool answers.

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?

Usage is strongly implied by the enumerated fields — an agent can infer this is the tool for difficulty/retarget/hashrate questions — but there is no explicit when-to-use or when-not statement, and no sibling is named as an alternative (e.g., for block-time or fee questions). The openWorldHint context makes the niche scope fairly self-evident, but guidance is implicit rather than stated.

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