Skip to main content
Glama
junxit

mcp-bitcoin

by junxit

get_block_height

Read-only

Retrieve the current Bitcoin blockchain height. Specify an optional network override to query a different chain without changing server settings.

Instructions

Get the current chain tip height. Needs a backend.

Args: network: Override the server's network for this call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
networkNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context by noting that a backend is required and that the network parameter overrides the server's network for this call only. This goes beyond the structured annotations without contradicting them.

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?

The description is extremely compact and front-loaded: the purpose is stated in the first sentence, and the only parameter is explained in one line. There is no redundant phrasing or unnecessary detail. Every sentence earns its place.

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 simple read-only getter with one optional parameter and an output schema, the description covers the essential invocation context. 'Needs a backend' signals a real prerequisite, though it is slightly vague about what happens if no backend is available. Overall, an agent has enough information to call the tool correctly.

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 description coverage is 0%, so the description carries the burden of explaining the 'network' parameter. It does so by stating 'Override the server's network for this call', which adds meaningful semantics beyond the raw string/null schema. It does not enumerate accepted network values, but for a single optional parameter this is adequate.

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

Purpose5/5

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

The description states a specific verb ('Get') and resource ('current chain tip height'), making the tool's core purpose unmistakable. This clearly distinguishes it from sibling tools like get_block, which retrieves a specific block, and other chain data tools. The wording is direct and not a tautology.

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?

The description implies the tool is used when the current chain tip height is needed, and it notes a prerequisite ('Needs a backend'). However, it does not explicitly contrast this tool with alternatives such as get_block, nor does it state when not to use it. The usage context is mostly inferred from the purpose rather than clearly prescribed.

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