Skip to main content
Glama

get_block_count

Retrieve the current Bitcoin blockchain height to monitor network progress and verify synchronization status.

Instructions

Get current block height (lightweight, fast).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • Implementation of the get_block_count tool, which retrieves the current block height.
    except Exception as e:
        hint = _connection_hint(e)
        return json.dumps({"error": str(e), "hint": hint})

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Bortlesboat/bitcoin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server