Skip to main content
Glama

Network hashrate (all time)

get_hashrate
Read-onlyIdempotent

Get network hashrate and difficulty data for all time.

Mempool.space docs

REST operation: GET /api/v1/mining/hashrate.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • removedOutput schema / $defs / DifficultyEntry / properties / adjustment / format
      Removed value: -"double"
    • removedOutput schema / $defs / DifficultyEntry / properties / difficulty / format
      Removed value: -"double"
    • addedOutput schema / $defs / DifficultyEntry / properties / height / $ref
      Added value: +"#/$defs/Height"
    • removedOutput schema / $defs / DifficultyEntry / properties / height / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/Height"
      -  }
      -]
    • removedOutput schema / $defs / HashrateEntry / properties / avgHashrate / format
      Removed value: -"uint128"
    • removedOutput schema / $defs / HashrateSummary / properties / currentDifficulty / format
      Removed value: -"double"
    • removedOutput schema / $defs / HashrateSummary / properties / currentHashrate / format
      Removed value: -"uint128"
    • removedOutput schema / $defs / Height / format
      Removed value: -"uint32"
    • removedOutput schema / $defs / Timestamp / format
      Removed value: -"uint32"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds only a docs link and the underlying REST path — nothing about cadence, history span, or approximate response size for an all-time series, which is the main behavioral risk here.

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?

Front-loaded with the purpose in one sentence, followed by a reference link and the REST operation. The docs link and REST path are supporting metadata rather than wasted prose, though they are not strictly needed for invocation.

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?

With zero parameters and an output schema present, the description need not explain return values. The only remaining gap is the granularity and total history span of the 'all time' series, which would help an agent judge payload size.

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, which is the baseline-4 case; there is nothing for the description to disambiguate. The schema's empty properties object is consistent with the description's framing as a fixed-endpoint read.

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?

States a specific verb (get) and resource (network hashrate and difficulty data), and the phrase 'for all time' implicitly distinguishes it from the period-scoped variant. It does not explicitly name get_hashrate_by_period, so sibling separation is implied rather than stated.

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?

The 'all time' qualifier hints at when this is appropriate versus get_hashrate_by_period, but no explicit when-to-use or when-not-to-use guidance is given. An agent must infer the routing rule from the tool name and the phrase.

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.