Skip to main content
Glama
ElromEvedElElyon

chainlink-sentinel

sentinel_feed

Read real-time Chainlink price feed data for cryptocurrency pairs across multiple blockchain networks to monitor market prices.

Instructions

Read a single Chainlink price feed (e.g., BTC/USD on ethereum)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYesChain name
pairYesPrice pair (e.g., BTC/USD, ETH/USD, LINK/USD)

Implementation Reference

  • The handler implementation for the `sentinel_feed` tool, which uses `readFeed` to retrieve price data and formats it as Markdown.
    server.tool(
      "sentinel_feed",
      "Read a single Chainlink price feed (e.g., BTC/USD on ethereum)",
      {
        chain: z.enum(chains as [string, ...string[]]).describe("Chain name"),
        pair: z.string().describe("Price pair (e.g., BTC/USD, ETH/USD, LINK/USD)"),
      },
      async ({ chain, pair }) => {
        const feed = await readFeed(chain, pair);
        if (!feed) {
          const available = Object.keys(FEED_REGISTRY[chain] || {}).join(", ");
          return {
            content: [
              {
                type: "text",
                text: `Feed ${pair} not found on ${chain}. Available: ${available || "none"}`,
              },
            ],
          };
        }
        return {
          content: [
            {
              type: "text",
              text: [
                `**${feed.description}** (${feed.chain})`,
                `Price: $${feed.price.toFixed(4)}`,
                `Decimals: ${feed.decimals}`,
                `Round ID: ${feed.roundId}`,
                `Updated: ${feed.updatedAt.toISOString()} (${Math.floor(feed.staleness / 60)}m ago)`,
              ].join("\n"),
            },
          ],
        };
      }
    );

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/ElromEvedElElyon/chainlink-sentinel'

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