Skip to main content
Glama

Block detail

get_block
Read-onlyIdempotent

One Cardano block by height or hash: epoch, time, size, fees, the pool that produced it, confirmations and its first 25 transactions. For a transaction use get_transaction.

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": {
      "id": "<id>"
    },
    "name": "get_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesBlock height (digits) or 64-hex block hash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description's value-add is disclosing result shape and the important truncation behavior ('its first 25 transactions'), which the agent would otherwise not know. It doesn't cover error behavior for an unknown height/hash, keeping it below 5.

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?

Two tight sentences with zero filler: the resource and payload summary come first, the sibling routing hint last. Every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description adequately pre-describes the response fields and the 25-transaction cap. Minor remaining gaps (pagination of further transactions, behavior on unknown block) are not fatal for a single-param read 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 100% and the single `id` parameter is fully documented as height digits or 64-hex hash; the description restates 'by height or hash' without adding format or edge-case detail beyond the schema. Baseline 3 applies.

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?

Names a specific verb+resource ('One Cardano block by height or hash') and enumerates the fields returned (epoch, time, size, fees, pool, confirmations, first 25 transactions), which clearly separates it from sibling tools like get_transaction or get_pool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes transaction lookups to `get_transaction`, giving one concrete alternative and the condition that selects it. It stops short of stating exclusions for other block-related siblings, so not a full when/when-not pair.

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