Skip to main content
Glama

get_validators

Read-onlyIdempotent

NEAR mainnet validators right now, from RPC: the largest by stake with their share, how much of their assigned work they did this epoch, and which protocol version they announce; who was kicked out of the last epoch and why. Pass a pool (astro-stakers.poolv1.near) for its rank, work done, fee and vote: what someone choosing where to stake wants to know.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_validators"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many of the largest to list (default 20).
accountNoOne validator pool account, e.g. astro-stakers.poolv1.near. Omit for the list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/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 covered. The description adds useful context beyond that: the data comes from RPC, reflects the current state ('right now'), and includes historical kick-out reasons. It does not discuss rate limits, pagination, or failure behavior, keeping it below a 5.

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 core resource and scope are front-loaded in the first clause, and the pool-mode behavior follows. The single long sentence is dense but every clause carries information; a slight structural split would improve scanability.

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?

With no output schema, the description carries the burden of describing return values, and it does so for both modes: the list mode (stake share, epoch work, protocol version, kick-outs) and the pool mode (rank, work done, fee, vote). Nothing an agent needs to select or invoke the tool correctly appears to be missing.

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 coverage is 100%, so both parameters are already documented, but the description adds meaning the schema lacks: it explains what the account parameter unlocks (rank, work done, fee, vote) and gives a concrete example pool. The limit parameter's effect is only implied by 'the largest by stake', so it is not fully redundant-free.

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 names a specific resource (NEAR mainnet validators from RPC) and enumerates exactly what is returned: stake share, epoch work done, announced protocol version, and last-epoch kick-outs. It is clearly distinguishable from siblings like get_network_state or get_protocol_status, which cover network/protocol status rather than validator-level stake and performance data.

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 gives a clear conditional: omit the pool argument for the ranked list, or pass a pool account to get that pool's rank, work done, fee and vote. It also frames the audience ('what someone choosing where to stake wants to know'). It does not explicitly name an alternative sibling tool or state when not to use it, so it falls short of a 5.

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