Skip to main content
Glama
btc-explorer-mcp

btc-explorer-mcp

get_block

Read-only

Retrieve a Bitcoin mainnet block by height or hash to get full block data, a plain-English explanation, and the explorer URL.

Instructions

Get a Bitcoin mainnet block by height or hash. Returns full block data plus a plain-English explanation and the explorer URL. Data: Bitcoin.com Explorer.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "get_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesBlock height (e.g. 840000) or 64-hex block hash

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds real value beyond them by disclosing the return shape (full block data plus a plain-English explanation and explorer URL) and the upstream data source (Bitcoin.com Explorer). It does not mention error handling for invalid or out-of-range heights, which keeps it from a 5.

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?

Three short sentences with the operation and accepted inputs front-loaded, followed by the return contents and attribution. No filler or redundant restatement of the tool name.

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?

For a one-parameter read tool with no output schema, the description is largely sufficient: it covers accepted identifiers, what comes back, and the data source. The main gap is edge-case behavior (unknown hash, unmined height), which an agent would need to know before calling.

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 coverage is 100% and the single parameter already documents both the height example (840000) and the 64-hex hash format. The description restates 'by height or hash' but adds no syntax, range, or formatting detail beyond what the schema provides, so the baseline of 3 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?

The description names a specific verb and resource ('Get a Bitcoin mainnet block') and specifies the two accepted identifier forms (height or hash), which distinguishes it from siblings like get_transaction and get_address. It stops short of explicitly contrasting itself with those siblings, but the resource 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 Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for block lookups because of the stated input forms, but there is no explicit when-to-use guidance, no exclusion of alternatives (e.g., search or get_chain_tip), and no note about behavior for heights not yet mined.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.