Skip to main content
Glama

get_oracle_price

Fetch the latest price from a specific oracle provider for an asset.

Input Schema

NameRequiredDescriptionDefault
chainNoOptional blockchain, e.g. ethereum, arbitrum, base
symbolYesAsset symbol, e.g. BTC, ETH, BTC/USD
providerYesOracle provider name, e.g. chainlink, redstone, api3
forceRefreshNoForce refresh from upstream instead of cache

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / provider / enum
      Previous value: -[
      -  "chainlink",
      -  "pyth",
      -  "stork",
      -  "api3",
      -  "redstone",
      -  "dia",
      -  "winklink",
      -  "supra",
      -  "twap",
      -  "reflector",
      -  "flare",
      -  "band"
      -]New value: +[
      +  "chainlink",
      +  "pyth",
      +  "stork",
      +  "chronicle",
      +  "api3",
      +  "redstone",
      +  "dia",
      +  "winklink",
      +  "supra",
      +  "twap",
      +  "reflector",
      +  "flare",
      +  "band"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / provider / enum
      Previous value: -[
      -  "chainlink",
      -  "pyth",
      -  "api3",
      -  "redstone",
      -  "dia",
      -  "winklink",
      -  "supra",
      -  "twap",
      -  "reflector",
      -  "flare",
      -  "band"
      -]New value: +[
      +  "chainlink",
      +  "pyth",
      +  "stork",
      +  "api3",
      +  "redstone",
      +  "dia",
      +  "winklink",
      +  "supra",
      +  "twap",
      +  "reflector",
      +  "flare",
      +  "band"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / provider / enum
      Previous value: -[
      -  "chainlink",
      -  "api3",
      -  "redstone",
      -  "dia",
      -  "winklink",
      -  "supra",
      -  "twap",
      -  "reflector",
      -  "flare",
      -  "band"
      -]New value: +[
      +  "chainlink",
      +  "pyth",
      +  "api3",
      +  "redstone",
      +  "dia",
      +  "winklink",
      +  "supra",
      +  "twap",
      +  "reflector",
      +  "flare",
      +  "band"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / chain / enum
      Previous value: -[
      -  "ethereum",
      -  "arbitrum",
      -  "optimism",
      -  "polygon",
      -  "solana",
      -  "avalanche",
      -  "fantom",
      -  "cronos",
      -  "juno",
      -  "cosmos",
      -  "osmosis",
      -  "bnb-chain",
      -  "base",
      -  "scroll",
      -  "zksync",
      -  "aptos",
      -  "sui",
      -  "gnosis",
      -  "mantle",
      -  "linea",
      -  "celestia",
      -  "injective",
      -  "sei",
      -  "tron",
      -  "ton",
      -  "near",
      -  "aurora",
      -  "celo",
      -  "starknet",
      -  "blast",
      -  "cardano",
      -  "polkadot",
      -  "kava",
      -  "moonbeam",
      -  "moonriver",
      -  "metis",
      -  "starkex",
      -  "stellar",
      -  "flare",
      -  "supra-chain",
      -  "bandchain"
      -]New value: +[
      +  "ethereum",
      +  "arbitrum",
      +  "optimism",
      +  "polygon",
      +  "solana",
      +  "avalanche",
      +  "fantom",
      +  "cronos",
      +  "juno",
      +  "cosmos",
      +  "osmosis",
      +  "bnb-chain",
      +  "base",
      +  "scroll",
      +  "zksync",
      +  "aptos",
      +  "sui",
      +  "gnosis",
      +  "mantle",
      +  "linea",
      +  "celestia",
      +  "injective",
      +  "sei",
      +  "tron",
      +  "ton",
      +  "near",
      +  "aurora",
      +  "celo",
      +  "starknet",
      +  "blast",
      +  "cardano",
      +  "polkadot",
      +  "kava",
      +  "moonbeam",
      +  "moonriver",
      +  "metis",
      +  "starkex",
      +  "stellar",
      +  "flare",
      +  "supra-chain",
      +  "bandchain",
      +  "monad"
      +]
  5. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it does convey that results are 'latest' (not historical) and provider-scoped. It says nothing about caching semantics implied by the forceRefresh parameter, staleness/fallback behavior, or what errors occur when a provider does not cover the requested asset/chain.

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?

A single front-loaded sentence with no filler, and the operation is stated immediately. It is efficient but so terse that it leaves the sibling-routing and return-shape questions entirely unaddressed.

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

Completeness3/5

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

The input schema is fully documented and covers all four parameters, so callers can construct a request. With no output schema and no annotations, the description should have said what comes back (price value, decimals, timestamp, freshness) and how the default chain is resolved; those gaps remain.

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 description coverage is 100% and both enums are documented inline, so the schema does the heavy lifting for provider, symbol and chain. The description adds no parameter-level meaning beyond that, such as what happens when chain is omitted or how symbol formats like 'BTC/USD' map to a provider's feed id.

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 ('Fetch') and resource ('latest price') and scopes it to 'a specific oracle provider for an asset', which implicitly separates it from get_consensus_price and get_price_history. It never names a sibling explicitly, so the agent must infer the boundary with get_oracle_prices_batch and get_consensus_price on its own.

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 phrase 'specific oracle provider' implies single-provider spot lookup rather than an aggregated or historical query, which is a usable hint. However, there is no explicit when-to-use/when-not guidance, no mention of when to prefer get_consensus_price or get_oracle_prices_batch, and no prerequisites such as whether a symbol must be supported by that provider.

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.