Skip to main content
Glama

dero_get_block

Read-only

Retrieve a complete DERO block by height or hash to inspect its header, miner transaction, transactions, and topo position, or verify a transaction's inclusion in the chain.

Instructions

Fetch a full block (header + miner_tx + transactions + topo position) by height OR hash via DERO.GetBlock.

When to call: when investigating a specific block or verifying a transaction's inclusion. Call dero_get_height first if you do not have a target height. PREFER citing dero_docs_search("block structure") so the user can verify field semantics.

Input Requirements (CRITICAL):

  • You MUST provide exactly ONE of hash or height. Providing both or neither returns a structured INVALID_INPUT error.

  • hash MUST be exactly 64 hex characters.

  • height MUST be a non-negative integer.

Output: full block with block_header, miner_tx, txs, and topo position fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hashNo64-char hex block hash
heightNoBlock height
Install Server

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safe read-only nature is covered. The description adds important behavioral context: the strict exactly-one input constraint and the INVALID_INPUT error condition, plus the exact output shape with topo position. This goes beyond the schema's basic type/pattern info.

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 well-structured with a clear first sentence, a 'When to call' section, a labeled critical input section, and an output summary. Every sentence is functional and no filler exists. The most important usage rule is prominently highlighted.

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

Completeness5/5

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

For a two-parameter, read-only lookup tool with full schema coverage, the description covers the purpose, invocation conditions, required input combination, parameter constraints, and output contents. It even suggests a docs-search path for deeper field semantics. There is no output schema, so the description appropriately enumerates the returned block components.

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 coverage is 100%, so the schema already documents both params and the hash pattern. The description adds the critical rule that exactly one of hash or height must be supplied and states the height must be non-negative, which is already in the schema but reinforced. It does not add new param-level meaning beyond the exclusive-or requirement.

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 states a specific verb ('Fetch'), a precise resource ('full block ... by height OR hash'), and names the RPC method (DERO.GetBlock). It clearly distinguishes this from sibling tools like dero_get_block_header_by_hash by specifying that the full block includes header, miner_tx, transactions, and topo position.

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?

The description explicitly says when to call it ('when investigating a specific block or verifying a transaction's inclusion') and tells the agent to call dero_get_height first if no height is known. It does not explicitly exclude alternative sibling block-header tools, but the 'full block' scope and output field list imply when the lighter header tools should be used instead.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DHEBP/dero-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server