Skip to main content
Glama

bitcoin_getblockcount

Idempotent

Read getblockcount from Bitcoin (bip122:000000000019d6689c085ae165831e93). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.

Input Schema

NameRequiredDescriptionDefault
paramsYes
idempotencyKeyYesPrivate random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior4/5

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

The description adds real context beyond the annotations: the exact USDC cost and network (Base mainnet), and explicit retry behavior via the idempotency key. It discloses that money is spent, which explains why readOnlyHint is false. It still omits what happens if payment is insufficient or the response shape, but the disclosure is genuinely useful.

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?

Three short, front-loaded sentences with no filler; cost and idempotency are stated crisply. The opening clause is slightly tautological ("Read getblockcount") but the size is appropriate for the tool.

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, so the description carries the burden of telling the agent what the call yields, and it never does — it does not say the result is the current block count/height. It covers network, cost, and idempotency, but for a read method returning data this is a meaningful gap.

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 50%. The documented idempotencyKey is reinforced by the description's "Preserve the private idempotencyKey for retries," which is helpful. The `params` array is an empty, unbounded-nothing structure that needs no explanation, so the schema plus the description adequately cover the real inputs; no additional meaning is added beyond the schema though.

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 description gives a verb ("Read") and identifies the resource/network ("getblockcount from Bitcoin"), so the agent knows it is a Bitcoin read method. However, it never explains what getblockcount actually returns (the current chain height/block count), leaving the resource name as a cryptic restatement of the tool name. It differentiates the chain from the Ethereum siblings but not from the Bitcoin siblings sharing the same family.

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?

There is no guidance on when to use this tool versus the other Bitcoin methods (getblock, getbestblockhash, getblockhash) or the Ethereum equivalents. It also omits any prerequisite/eligibility context even though it costs money. The only actionable hints are the cost and idempotency note, not usage routing.

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.

Resources