Skip to main content
Glama

x402_blockstream_get_v1_block_hash

Fetch Bitcoin block information by hash from Blockstream Esplora to verify blocks, inspect metadata, or analyze on-chain transaction data.

Instructions

blockstream — Blockstream Esplora Bitcoin API: blocks, addresses, transactions. Free, no key, no rate limit issues. [GET /v1/block/{hash}] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/block/000000000000000000006c8363e378e62c34e53f6d390f5be26a3d996c0ea6d8

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

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description does carry real behavioral context: price ($0.005 USDC), accepted chains (eip155:8453/137/42161/480), and no key requirement. But it also says 'Free, no key, no rate limit issues' immediately before stating a $0.005 charge, which is internally contradictory and could mislead an agent about whether the call costs money; return shape and failure behavior are undescribed.

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

Conciseness3/5

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

Front-loaded and short, with the endpoint and example placed prominently. But the provider boilerplate ('Free, no key, no rate limit issues') is misleading filler for a paid call, and the 64-character example hash consumes a large share of a very short description.

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

Completeness2/5

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

There is no output schema and no annotations, so the description must explain what comes back and how the block hash is bound — it does neither. For a nested-object, paid, mutating-in-cost tool it leaves the agent without enough to call it confidently.

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?

Schema coverage is 100%, so baseline is 3, and the description adds the concrete path template and a full example hash value. That example is genuinely needed because the input schema exposes only body/query/restart/operationId and contains no explicit 'hash' field, so the description is the only signal for how the block identifier is supplied — though it never states the mapping rule explicitly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The endpoint form '[GET /v1/block/{hash}]' plus the example path implies 'fetch a Bitcoin block by hash', which is traceable to a verb and resource. However, the prose preamble ('blocks, addresses, transactions') is a generic API-category blurb rather than a statement of what this specific call returns, and it never contrasts with sibling x402_blockstream_get_v1_blocks_tip.

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 or when-not-to-use guidance is given, and no alternative tool is named for related lookups (e.g. tip hash, address, transaction). The agent can only infer usage from the URL path.

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

Deploy Server

Other Tools