Skip to main content
Glama

platform_get_block_by_height

Get a P-Chain block by its height

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
heightYesThe block height as a string
networkNoAvalanche network to query (default: mainnet)
encodingNoEncoding format for the block (default: json)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/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 behavioral disclosure burden. However, it only says 'Get' without explicitly stating it is a read-only operation, how errors are handled (e.g., missing height), or what the return format looks like. This is a minimal disclosure for a tool with no annotation coverage.

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 a single, front-loaded sentence with no redundant words. It efficiently states the tool's purpose without unnecessary elaboration.

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?

The tool is relatively simple (3 params, no output schema), but without annotations or an output schema, the description is slightly under-specified. It doesn't mention the return format or that the 'encoding' parameter controls it, nor does it note that 'network' defaults to mainnet. Adequate but with gaps.

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 description covers 100% of the parameters, so baseline is 3. The description adds no extra meaning beyond the schema; it only mentions 'height' location but does not explain the encoding/network parameters beyond what the schema already says.

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 'Get a P-Chain block by its height' uses a specific verb and resource, and the 'by its height' qualifier distinguishes it from sibling tools like platform_get_block (likely by ID or hash). It is clear and non-tautological.

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 purpose is clear enough to infer when to use (when you need a block by height), but there is no explicit guidance about alternatives (e.g., use platform_get_block for by-ID lookup) or when not to use this tool. The context is implied rather than stated.

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.