Skip to main content
Glama

chain_rpc_health

Read-only

Public RPC health check (5 EVM chains) — Probe the keyless public JSON-RPC endpoints for base, ethereum, arbitrum, optimism and polygon right now: up/down, latency in ms, head block and lag behind the best endpoint, chainId check, JSON-RPC batch support, and the recommended fastest healthy URL per chain with an ALL_HEALTHY/DEGRADED/DOWN status. chain= base, ethereum, arbitrum, optimism, polygon, a comma list, or all. Price: $0.002 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>"
    },
    "name": "chain_rpc_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesbase

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/non-destructive; the description adds materially important behavior: it hits external keyless endpoints, charges $0.002 USDC on Base via x402, and returns a three-state ALL_HEALTHY/DEGRADED/DOWN verdict. The payment requirement and the exact probe dimensions are things the agent cannot infer from the annotation block.

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?

Front-loaded with the purpose and chain coverage, then the returned metrics, then the chain argument values, then price. Dense but every clause carries information; it is one very long sentence rather than cleanly separated bullets, which slightly hurts scannability.

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?

There is no output schema, so the description carries the return contract itself — it lists up/down, latency in ms, head block, lag versus best endpoint, chainId check, batch support, recommended fastest healthy URL, and the aggregate status. Combined with the pricing disclosure, an agent has everything needed to call and interpret this tool.

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 nominally 100%, but the schema's only hint for `chain` is the string 'base', which reads like a single-value constraint. The description corrects this by enumerating base, ethereum, arbitrum, optimism, polygon, a comma-separated list, or 'all' — genuine value added beyond structured data, though it does not spell out case sensitivity or error behavior for invalid names.

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?

States a specific verb ('Probe') and resource ('keyless public JSON-RPC endpoints') and names the exact five chains covered. The scope ('right now', live up/down + latency + head block) is precise enough that an agent knows exactly what the call returns without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage via 'right now' (a live probe rather than historical data), but never states when to use this versus alternatives or when not to use it. Given the sibling list contains only unrelated medical/health tools, no real routing decision exists, so the omission is minor but still leaves guidance implicit.

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