get_block_by_number
Get block details by block number: timestamp, miner, transaction count, gas used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block_number | Yes | Block number (decimal) |
Get block details by block number: timestamp, miner, transaction count, gas used.
| Name | Required | Description | Default |
|---|---|---|---|
| block_number | Yes | Block number (decimal) |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It implies a read but does not disclose error behavior for invalid or future block numbers, whether pruning/archive limits apply, or whether the whole block's transaction list is included. For a tool with zero annotation coverage this is a real gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One front-loaded sentence with no filler; the enumerated return fields are compact. It is efficient, though the colon list is slightly dense and could be trimmed or turned into explicit return-value guidance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, listing the salient returned fields (timestamp, miner, tx count, gas used) is genuinely useful for an agent. Missing only edge-case behavior and sibling differentiation, which keeps it short of a 5.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the single parameter is documented as 'Block number (decimal)'. The description repeats the lookup key but adds no format, range, or tag alternatives (e.g., 'latest') beyond the schema, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (get) and resource (block details) plus the lookup key (block number) and the fields returned, which is more specific than a bare name restatement. However, it never distinguishes itself from the sibling get_block_number, so an agent must infer which one returns height versus full block details.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this versus alternatives such as get_block_number or get_transaction, and no preconditions (e.g., valid/mined block range). The usage must be inferred entirely from the name.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.