Skip to main content
Glama

Validator signing liveness

validator_health
Read-onlyIdempotent

Check whether a validator is signing blocks and evaluate downtime-jail risk from recent commit signatures and slashing state, even when the validator node is down.

Instructions

Check whether a validator is signing blocks, from the commit signatures of the last N blocks (default 100). Use it when asked if a validator is up, missing blocks, at risk of downtime jailing, or out of the active set. Commits are read from a synced sentry/full node when one is configured, so this works even while the validator node itself is down. Returns: signed / nil-vote / missed / not-in-set / unreadable counts (blocks the node could not serve make the level unknown), missed %, consecutive misses at the head (miss_streak ≥ 3 means it is not signing right now), last signed height, voting power, rank and share of the current set, average block time, and findings. Also returns a cosmos section from the chain's x/slashing and x/staking state: jailed / tombstoned / bonding status, the chain's own missed-block counter, max_missed, misses_until_jail, and time_to_jail when the validator is missing blocks right now. Quote misses_until_jail and time_to_jail from the result; do not compute them yourself. A validator outside the bonded set has no jail margin (x/slashing does not count it); on a chain without x/slashing (an ICS consumer) the cosmos section says unsupported.

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": "validator_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeNoValidator node name from the config. May be omitted when exactly one validator is configured.
windowNoNumber of most recent blocks to scan, 10-500. Default 100.

Output Schema

NameRequiredDescriptionDefault
noteYes
levelYes
cosmosNo
missedYes
signedYes
windowYes
addressYes
summaryYes
findingsYes
nil_votesYes
validatorYes
active_setNo
missed_pctYes
not_in_setYes
unreadableYes
miss_streakYes
source_nodeYes
address_sourceYes
avg_block_secondsNo
last_signed_heightNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.3
    • addedOutput schema / properties / cosmos / properties / unsupported
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv0.3.1

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations it discloses meaningful behavior: commits are read from a synced sentry/full node so it works while the validator is down, unreadable blocks make the level 'unknown', a bonded-set exit removes the jail margin, and ICS consumers return 'unsupported'. It also instructs the agent to quote misses_until_jail/time_to_jail rather than compute them, which is exactly the kind of non-obvious operational detail annotations cannot convey.

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?

It is front-loaded with purpose and usage before the results inventory, and the caveats each carry real information. It is dense but somewhat long, and the long enumeration of returned fields partly duplicates the existing output schema rather than adding interpretation.

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 read-only diagnostic with two optional params, the definition covers purpose, triggers, data provenance, degraded-mode behavior, jail-margin semantics, and the ICS edge case. An agent has everything needed to call it and interpret the result without guessing.

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 coverage is 100%, so the schema already documents both parameters and their bounds (10-500, default 100, node optional when one validator is configured). The description restates the default window and implies the node scoping but adds no meaning 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a precise verb and resource plus the data source: 'Check whether a validator is signing blocks, from the commit signatures of the last N blocks'. The use-case triggers (up, missing blocks, jailing risk, out of active set) carve out a clear scope distinct from sibling tools like node_status or peer_health.

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 explicit when-to-use triggers ('asked if a validator is up, missing blocks, at risk of downtime jailing, or out of the active set'), which is strong routing guidance. It stops short of naming the alternative sibling tools or stating when not to use it (e.g. for pure connectivity checks).

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