Skip to main content
Glama

Mempool Space Get Block

mempool_space_get_block
Read-onlyIdempotent

Block detail by hash or height.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "hash_or_height": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f"
    },
    "name": "mempool_space_get_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
networkNoWhich Bitcoin network. Defaults to mainnet, the real Bitcoin network, which is what "Bitcoin" means in an ordinary question. "bitcoin" and "btc" are accepted as aliases for mainnet.mainnet
hash_or_heightYesBlock hash or numeric height

Output Schema

NameRequiredDescriptionDefault
idNoBlock hash
bitsNoDifficulty bits
sizeNoBlock size in bytes
nonceNoBlock nonce
extrasNoExtra block data
heightNoBlock height
weightNoBlock weight in WU
versionNoBlock version
tx_countNoTransaction count
timestampNoBlock timestamp (Unix)
difficultyNoMining difficulty
merkle_rootNoMerkle root hash
previousblockhashNoPrevious block hash

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / network / description
      Previous value: -"Which Bitcoin network. Defaults to mainnet — the real Bitcoin network, which is what \"Bitcoin\" means in an ordinary question. \"bitcoin\" and \"btc\" are accepted as aliases for mainnet."New value: +"Which Bitcoin network. Defaults to mainnet, the real Bitcoin network, which is what \"Bitcoin\" means in an ordinary question. \"bitcoin\" and \"btc\" are accepted as aliases for mainnet."
  2. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered by structured data. The description adds nothing behavioral on top — no note on unknown-hash handling, network mismatch, or data freshness — but with annotations and an output schema present, the burden is largely carried elsewhere.

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?

A single short sentence with zero waste, and the key resource is front-loaded. It is arguably too terse rather than padded, so length is not the problem.

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

Completeness3/5

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

Given a simple two-parameter read tool with full schema coverage, an output schema, and complete annotations, the description is just barely sufficient. It omits what the response contains and any cross-network caveat, but nothing essential for calling the tool is missing.

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

Parameters3/5

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

Schema description coverage is 100%; both hash_or_height and network are documented in-schema, including the network enum with aliases. The phrase 'hash or height' merely restates the parameter description rather than adding format details such as hash length or height range.

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?

'Block detail by hash or height' names a specific resource (a Bitcoin block) and the lookup key, which distinguishes it clearly from siblings like mempool_space_get_transaction or mempool_space_get_address. It stops short of a real verb ('detail' is a noun), but the intent is unambiguous.

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?

The description gives no when-to-use or when-not-to-use guidance and names no alternative. An agent must infer from the name that this is the tool for fetching a single block rather than chain height or mempool stats.

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.