Skip to main content
Glama
vechain

VeChain MCP Server

Official
by vechain

Indexer: Validators (v1)

getValidators
Read-onlyIdempotent

Retrieve validator statistics including NFT delegation yields, block probability, and uptime to inform staking decisions.

Instructions

Retrieve validator statistics via /api/v1/validators for Stargate NFT delegation decisions and validator performance. IMPORTANT: Look at all no status filter when getting validators when getting nft yields, when getting current validator not nft yields look at status=ACTIVE

KEY METRICS:

  • nftYieldsIfDelegatedNextCycle: Projected APY (%) for each Stargate NFT level in the next cycle if delegated to this validator (use this for delegation decisions)

  • nftYields: Current-cycle APY (%) for each Stargate NFT level already delegated to this validator

  • blockProbability: Validator's chance of producing blocks (higher = more rewards)

  • percentageOffline: Validator uptime reliability (lower = better)

  • delegatorTvl: Total USD value delegated by Stargate NFTs (higher = more competition)

FILTERS:

  • validatorId: Filter by specific validator address

  • endorser: Filter by endorser address

  • status: NONE, QUEUED, ACTIVE, EXITED, EXITING - only filter by ACTIVE for currently operating validators and all when getting nft yields

SORTING (sortBy parameter):

  • For NFT delegation: Use 'nft:' (e.g., 'nft:Dawn', 'nft:Thunder') to sort by APY IMPORTANT: When sorting by NFT yield, filter by status=ACTIVE or include QUEUED validators

  • Other options: validatorTvl, totalTvl, blockProbability, delegatorTvl

PAGINATION: Supports page, size, cursor, and direction (ASC/DESC)

VALIDATOR RECOMMENDATION GUIDELINES:

  1. Primary metric: nftYieldsIfDelegatedNextCycle[level] - this is APY percentage, NOT absolute VTHO

  2. Sort by the user's NFT level (e.g., sortBy='nft:Dawn' for Dawn NFTs)

  3. Filter to status=ACTIVE for currently operating validators

  4. Consider percentageOffline as secondary factor (reject if >30%)

  5. Present top 3-5 options with APY clearly labeled as percentage

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
sortByNoSort field for the results
statusNoFilter by validator status
endorserNoFilter by endorser address
directionNoSort direction for time-based queries; defaults to 'DESC' (newest first)
validatorIdNoFilter by validator ID

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 indicate read-only, idempotent, non-destructive behavior. The description adds significant behavioral context: the exact API endpoint, key metrics (nftYields, blockProbability, etc.), pagination support, and interpretation guidance. It does not contradict annotations, and the added detail is valuable beyond the structured data.

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?

The description is well-structured with clear sections (KEY METRICS, FILTERS, SORTING, PAGINATION, RECOMMENDATION GUIDELINES) and front-loaded with the purpose and an important note. It is somewhat lengthy but every section serves a purpose. Minor grammatical issues (e.g., 'all no status filter') slightly hinder conciseness.

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's complexity (8 parameters, output schema, multiple enums, and domain-specific NFT yield logic), the description covers all necessary aspects: metrics explanation, filter/sort options, pagination, and even recommendation criteria. It is complete enough for an AI agent to correctly select and invoke the tool for delegation decisions.

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

Parameters5/5

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

With 100% schema coverage, the description still adds substantial meaning by explaining each parameter's purpose in context: e.g., status filter conditions, sortBy options for NFT levels, pagination mechanics, and endpoint-specific constraints. This is a model example of enriching parameters beyond schema 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 the tool retrieves validator statistics via a specific API endpoint for Stargate NFT delegation decisions and validator performance. It distinguishes itself from sibling tools like getValidatorBlockRewards by focusing on NFT yield metrics and delegation context.

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?

It provides explicit when-to-use context for NFT delegation decisions, with detailed filtering and sorting instructions. It includes recommendation guidelines and explains status filter usage (e.g., using 'ACTIVE' for current validators, no filter for NFT yields). However, it does not explicitly compare with alternative tools, which is minor given the specificity.

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