Skip to main content
Glama

get_block_info

Retrieve details for a specific NEAR block by hash or height, or fetch the latest block when no identifier is provided.

Instructions

Get information about a specific block or the latest block

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
block_idNoBlock hash or height (omit for latest)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, yet it discloses nothing about what 'information' is returned, whether the call is read-only, error behavior for unknown hashes, or finality caveats for the latest block. It only implies a safe lookup via the verb 'Get'.

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?

A single short sentence with zero padding, front-loading the action and the two supported scopes. Nothing in it is redundant.

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?

For a one-parameter read tool with no output schema and no annotations, the description is minimally viable but leaves the return shape and edge-case behavior unspecified. An agent can call it correctly, but cannot predict what it gets back.

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 100% and the schema already states 'Block hash or height (omit for latest)'. The description's 'or the latest block' reinforces the default but adds no format, range, or validation detail beyond the schema, so the baseline 3 applies.

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 (Get) and resource (block info) with an explicit scope: a specific block or the latest block. That scope distinguishes it from siblings like get_transaction_status or get_account_info, though it never names an alternative directly.

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 choose this tool over siblings, nor any prerequisites or exclusions. The only usage cue is 'omit for latest', which is really parameter behavior rather than routing advice.

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