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)

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.

TDQS

B3.1/5.0
Disambiguation2/5

Many tools are redundant due to compatibility aliases (avalanche_docs_* vs docs_*, blockchain_get_* vs onchain_lookup) and overlapping functionality (chain_stats vs onchain_query, onchain_activity vs onchain_query ops, acp_list vs info_acps). Agents may struggle to select the correct tool when multiple appear to serve the same purpose, despite descriptions clarifying aliases.

Naming Consistency2/5

Naming patterns are inconsistent: some tools use noun_verb (acp_list, docs_fetch), some use verb_noun (build_plan), and others use prefixes like platform_get_, info_get_, and onchain_. The mix of styles (snake_case, noun phrases, verb phrases) makes it hard to predict tool names.

Tool Count2/5

With 48 tools, the count is high and inflated by compatibility aliases and granular platform_get_* wrappers. The scope spans multiple domains (docs, on-chain, platform API, ACPs, console), which could be better modularized. Many tools are trivial variants (e.g., platform_get_block vs platform_get_block_by_height) adding unnecessary bulk.

Completeness4/5

The server provides thorough read-only coverage for Avalanche: docs search, ACP management, on-chain lookups, indexed stats, platform API getters, and console flow guidance. While there is no transaction submission (likely intentional), the surface covers most queries a developer would need, with minor gaps like detailed token transfer history.