Skip to main content
Glama

bitcoin_getblockcount

Idempotent

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

Input Schema

TableJSON 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.4/5.0
Behavior4/5

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

Annotations cover safety (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=true), and the description adds genuinely new context the annotations don't carry: the price (0.002500 test USDC), the payment network (eip155:84532), and the requirement to persist the idempotency key across retries. Note the mild tension between 'Read' and readOnlyHint=false, though the payment side effect plausibly justifies the non-read-only hint rather than contradicting it.

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: what it does, what it costs, how to retry. Minor deduction because the idempotency sentence largely duplicates the schema's own wording rather than adding new information.

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?

There is no output schema, so the description should describe the return value (the chain height), which it never does — a real gap for a read tool. Payment and retry semantics are complete, but an agent still cannot tell what the call yields.

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 idempotencyKey is already richly documented in the schema, and the description only restates its retry/persistence purpose. The 'params' array is undocumented but is an empty array (minItems/maxItems 0), so there is nothing meaningful to explain — baseline 3 is appropriate.

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+resource ('Read getblockcount from Bitcoin') and pins the exact chain via its CAIP-2 identifier, so the agent knows this returns Bitcoin's block height. It does not explicitly differentiate itself from the analogous sibling ethereum_eth_blockNumber or the other bitcoin_getblock* tools, so it falls short of a 5.

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 and no alternatives named, even though ~40 sibling chain-read tools exist. The only actionable instruction ('Preserve the private idempotencyKey for retries') is about retry mechanics, not tool selection.

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