Skip to main content
Glama

Get latest blocks

get_latest_blocks
Read-onlyIdempotent

A chain's tip and latest blocks, newest first.

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>"
    },
    "name": "get_latest_blocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesA chain slug from `list_explorer_chains`.
limitNo
beforeNoOnly blocks below this height.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/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 fully covered upstream. The description adds the only behavioral fact not in structured data: results are ordered newest first. It says nothing about pagination, rate limits, or what happens when a chain has no blocks.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single nine-word sentence with the ordering constraint front-loaded and zero filler. It is efficient, though the brevity comes partly at the cost of the missing usage and parameter detail noted elsewhere.

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 simple read-only, three-parameter tool with no output schema, the definition gives a rough picture of the return (tip plus blocks) but leaves the limit/before interaction and the response shape unexplained. Adequate to attempt a call with a slug, but not enough to use the paging parameters confidently.

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 67%: slug and before are documented in-schema while limit only has bounds and a default. The 'newest first' ordering is useful context that lets an agent infer limit means 'the N newest' and before means 'skip down from the tip', but limit's meaning is never stated explicitly.

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?

The description names the specific resource (the chain's tip plus the latest blocks) and the ordering (newest first), which is more than a restatement of the name. It stops short of contrasting itself with get_block, so an agent must infer whether a single-block lookup belongs here or in the sibling tool.

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 when-to-use or when-not-to-use guidance, and no named alternative. The phrase 'latest blocks' implies a tip-watching use case, but the definition never says to use it for monitoring versus get_block for a specific height.

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