Skip to main content
Glama

Chainlink price-feed health (paid $0.003)

oracle_health

Check Chainlink price-feed health: verify last-update age, latest answer, round progression, and stale flag versus heartbeat. Optionally compare deviation with a reference price.

Instructions

PAID $0.003 (x402, USDC on Base). Chainlink price-feed health via public RPC: last-update age, latest answer (scaled by decimals), round monotonicity (is the answer current?), a stale flag vs the heartbeat, optional deviation vs a reference price, and per-factor flags. Read-only, descriptive. Args: feed_address, chain, heartbeat_seconds (optional), reference (optional). Without payment returns the x402 challenge; pass x_payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYesChain the feed is deployed on.
referenceNoA reference price to compute deviation % against (optional).
x_paymentNox402 payment payload (base64) for this PAID read. If supplied it is forwarded as the X-PAYMENT header to settle the call and return the real result instead of a 402 challenge. Omit to get the price challenge first.
feed_addressYesChainlink aggregator/proxy address (0x…40-hex), e.g. ETH/USD 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419.
heartbeat_secondsNoThe feed's heartbeat in seconds for a precise stale check (optional).
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the read-only nature, the payment requirement via x402 (including a challenge flow), and the key behavioral aspects such as using public RPC and computing a stale flag. It does not mention error handling, rate limits, or exact return structure, but it covers the most important behaviors.

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 detailed but well-organized, front-loading the cost and immediately enumerating the checks. It is somewhat long but information-dense. The listing of arguments repeats schema information, which could be trimmed, but the overall structure is readable and efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only health check with no output schema, the description covers core behaviors, payment flow, and optional parameters. However, it does not specify the output format (e.g., JSON shape) or behavior on invalid inputs (e.g., bad feed address or chain), which an agent might need for robust invocation. Given the tool's complexity, the description is fairly complete but leaves some gaps.

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 all five parameters in detail. The description adds limited extra semantics, primarily explaining the x_payment flow (omitting vs passing it) and noting optional parameters. This supplements the schema slightly but does not significantly enhance meaning beyond it.

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's purpose: assessing Chainlink price-feed health via public RPC, with a specific list of checks performed (last-update age, latest answer, round monotonicity, stale flag, deviation). It distinguishes from sibling tools by focusing on price feed health, and the read-only nature is explicit.

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 (checking price feed health) and explains the payment flow (omit x_payment for challenge, pass it for result), but it does not provide explicit guidance on when to use this tool versus alternatives or when not to use it. It lacks comparative context for sibling tools like gas or token_unlocks.

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/zvmzaretsky/fabtally-chain-mcp'

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