Skip to main content
Glama

oracle price

oracle_price
Read-only

Tamper-resistant on-chain prices from Chainlink: up to 15 pairs (ETH, BTC, LINK, USDC, USDT, DAI, AAVE, UNI, MKR, COMP, SNX, CRV, LDO, WBTC against USD, ETH or BTC, plus EUR, GBP, JPY, CHF, AUD, CAD) with update time, age and a staleness flag. Costs $0.002 USDC per call (x402).

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

Input Schema

NameRequiredDescriptionDefault
pairsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds meaningful traits beyond that: it discloses the freshness metadata returned (update time, age, staleness flag) and, importantly, the paid-call model ('Costs $0.002 USDC per call (x402)'), which is a genuine behavioral constraint the agent can't get from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense sentence that front-loads the purpose, then supplies the pair universe, return fields, and cost. Nothing is padding; the long enumerations are directly actionable selection data.

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 one-parameter, read-only paid tool with no output schema, the description covers source, selectable values, returned freshness fields, and the x402 payment cost. The main gap is input syntax for 'pairs', which is neither in the schema nor the description.

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 0% for the single 'pairs' parameter, so the description must compensate. It does enumerate the valid asset universe (ETH, BTC, ... plus EUR/GBP/JPY/etc.) and notes 'up to 15 pairs', but it never explains the input format (delimiter, array vs string, how USD/ETH/BTC quote selection is expressed), leaving the actual syntax ambiguous.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

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

States a specific verb+resource: 'tamper-resistant on-chain prices from Chainlink', and enumerates exactly which pairs are covered. It does not, however, explicitly distinguish itself from price-adjacent siblings such as crypto_price, token_price, or stablecoins, so an agent must infer that the Chainlink/oracle angle is the differentiator.

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?

Usage is implied by 'tamper-resistant on-chain prices from Chainlink', which suggests oracle-grade prices rather than exchange tickers, but there is no explicit when-to-use/when-not and no named alternative. The agent gets a hint, not a routing rule.

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