Skip to main content
Glama

Get a block

get_block
Read-onlyIdempotent

One block by height: its header and a page of its transaction ids.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>",
      "height": "<height>"
    },
    "name": "get_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
slugYesA chain slug from `list_explorer_chains`.
heightYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds the useful response content (header + tx ids) since no output schema exists, but says nothing about behavior when the block or slug is invalid, whether 'a page' is fixed-size, or how to fetch more transactions.

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?

One sentence, front-loaded with the resource and its scope, with zero filler. Nothing could be cut without losing information.

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?

Given no output schema, the description wisely sketches the return value, and it covers the two undocumented-in-schema parameters at a high level. It is still thin on error behavior, pagination mechanics, and result-size expectations for a three-parameter lookup tool.

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 only 33%: only 'slug' is documented in the schema. The description partially compensates by tying 'height' to block lookup and 'a page' to the paginated transaction-id list, but the page default (1), minimum, and maximum remain undocumented in prose as well as schema.

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+resource ('One block by height') plus the return shape ('its header and a page of its transaction ids'). It implicitly distinguishes itself from the latest-blocks sibling by being height-addressed, though it never names that alternative.

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?

'By height' implies the caller must already know a specific block height, which is a real selection cue against get_latest_blocks, but no alternative is named and no when-not-to-use condition is given.

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.

Resources