Skip to main content
Glama
vechain

VeChain MCP Server

Official
by vechain

Indexer: Validator block rewards (v1)

getValidatorBlockRewards
Read-onlyIdempotent

Retrieve VTHO validator block rewards with details on base, priority, and delegator splits. Filter by block, validator, or status.

Instructions

Fetch VTHO rewards per block via /api/v1/validators/blocks. Returns blockReward (base), priorityReward (mempool priority fees), total, and the split into delegatorRewards and validatorRewards. Filter by blockNumber, validator, and status. Use status=VALIDATED for produced blocks or status=MISSED for blocks the validator missed. Supports pagination and sort direction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoZero-based results page number (0 is the first page)
sizeNoResults per page (1..150); API default is typically 20
cursorNoOpaque cursor for fetching the next page when provided by the API
statusNoFilter by block status ('VALIDATED' or 'MISSED')
directionNoSort direction for time-based queries; defaults to 'DESC' (newest first)
validatorNoOptional validator address filter
blockNumberNoOptional specific block number to query

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataNo
errorNo
networkYes
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint true, and destructiveHint false. The description adds detail about the return structure (split into delegator/validator rewards) and the meaning of status filters. This context is beyond the annotations, enhancing transparency without contradiction.

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 three sentences, front-loaded with verb and resource. Every sentence provides essential information: endpoint, return fields, and filtering options. No fluff or redundancy.

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?

Given the tool has no required parameters, 100% schema coverage, an output schema, and thorough annotations, the description covers purpose, filters, pagination, and return data. It is complete for a read-only, idempotent tool with good structured metadata.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with well-described parameters. The description adds value by explaining the endpoint context and providing usage examples for the status parameter (status=VALIDATED for produced blocks, MISSED for missed). This goes beyond the schema's enum descriptions.

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 clearly states 'Fetch VTHO rewards per block' and specifies the endpoint. It lists return fields (blockReward, priorityReward, total, delegatorRewards, validatorRewards) and filters (blockNumber, validator, status). This distinguishes it from sibling tools like getValidatorDelegations which handle delegations.

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 explains when to use (for per-block rewards) and how to filter by status (VALIDATED vs MISSED), pagination, and sort direction. It implicitly differentiates from other validator tools but does not explicitly state when not to use or provide direct alternatives.

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

Install Server

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/vechain/vechain-mcp-server'

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