Block tip height
get_block_tip_heightREST operation: GET /api/blocks/tip/height.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
get_block_tip_heightREST operation: GET /api/blocks/tip/height.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Output schema / (root)Previous value: -nullNew value: +{
+ "$defs": {
+ "Height": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "$ref": "#/$defs/Height",
+ "$schema": "https://json-schema.org/draft/2020-12/schema"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds nothing beyond a documentation URL — no note on rate limits, freshness/latency of the tip value, or that the result is a scalar rather than a block object.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short lines with no filler; the doc link and endpoint are front-loaded. It is efficient, though the link precedes any plain-language statement of purpose, which is slightly backwards for an agent skimming.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema present, return values needn't be explained, and with zero parameters and rich annotations the bar is low. Still, a one-clause note clarifying that this returns the latest block height (a plain integer) would close the only real gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so there is nothing to disambiguate; the baseline of 4 applies. The description neither adds nor obscures parameter meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives the exact REST endpoint (GET /api/blocks/tip/height), which pins down the resource precisely, but it never states in words what the call returns (the height of the chain tip). Combined with the name it is decipherable, yet it leans on the name rather than explaining the purpose, and it does not distinguish itself from neighbors like get_block_tip_hash or get_blocks.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to call this instead of get_block_tip_hash, get_blocks, or get_block_by_timestamp. The doc link is the only hint at context, and the agent must infer the use case entirely from the name.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.