Skip to main content
Glama

Difficulty adjustment

get_difficulty_adjustment
Read-onlyIdempotent

Get current difficulty adjustment progress and estimates.

Mempool.space docs

REST operation: GET /api/v1/difficulty-adjustment.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • removedOutput schema / $defs / DifficultyAdjustment / properties / adjustedTimeAvg / format
      Removed value: -"uint64"
    • removedOutput schema / $defs / DifficultyAdjustment / properties / difficultyChange / format
      Removed value: -"double"
    • removedOutput schema / $defs / DifficultyAdjustment / properties / estimatedRetargetDate / format
      Removed value: -"uint64"
    • removedOutput schema / $defs / DifficultyAdjustment / properties / expectedBlocks / format
      Removed value: -"double"
    • removedOutput schema / $defs / DifficultyAdjustment / properties / previousRetarget / format
      Removed value: -"double"
    • removedOutput schema / $defs / DifficultyAdjustment / properties / progressPercent / format
      Removed value: -"double"
    • removedOutput schema / $defs / DifficultyAdjustment / properties / remainingBlocks / format
      Removed value: -"uint32"
    • removedOutput schema / $defs / DifficultyAdjustment / properties / remainingTime / format
      Removed value: -"uint64"
    • removedOutput schema / $defs / DifficultyAdjustment / properties / timeAvg / format
      Removed value: -"uint64"
    • removedOutput schema / $defs / DifficultyAdjustment / properties / timeOffset / format
      Removed value: -"int64"
    • removedOutput schema / $defs / Height / format
      Removed value: -"uint32"
    • removedOutput schema / $defs / Timestamp / format
      Removed value: -"uint32"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is fully covered. The description adds only the 'current' framing (latest snapshot rather than historical series), which is modest extra value; it does not mention freshness/latency or that it hits a live upstream API despite openWorldHint.

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

Conciseness5/5

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

Two short lines, with the purpose front-loaded. The docs link and REST operation mapping are compact and useful for disambiguation rather than filler.

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 no parameters, a rich annotation set, and an output schema present, the description need not explain return values. The only missing piece is the sibling differentiation that would let an agent pick correctly among the three difficulty-adjustment tools.

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 and the schema is empty with additionalProperties=false, so there is nothing for the description to document. Baseline 4 applies.

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 and resource ('Get current difficulty adjustment progress and estimates'), which is clearer than the title alone. However, it never distinguishes itself from the near-identical siblings get_difficulty_adjustments and get_difficulty_adjustments_by_period, so an agent cannot tell from the text which one returns the current epoch snapshot vs. history.

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

Usage Guidelines2/5

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

No when-to-use guidance, no exclusions, and no reference to the two obvious alternatives despite their names being nearly identical. The word 'current' hints at a selection condition but the agent must infer it.

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.