Skip to main content
Glama

get_oracle_prices_batch

Fetch prices for multiple assets/providers in a single request. Up to 20 queries.

Input Schema

NameRequiredDescriptionDefault
queriesYesArray of price queries
forceRefreshNoForce refresh from upstream instead of cache

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / queries / items / 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 / queries / items / 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 / queries / items / 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 / queries / items / 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.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions nothing about caching behavior (only implied by the schema's forceRefresh), rate limits, per-query partial-failure handling, or auth requirements – significant gaps for a batch network call.

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?

Two short, front-loaded sentences with no filler and the batch nature stated first. It is efficiently sized, though extremely terse for a tool with behavioral nuances.

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?

Inputs are fully covered by the schema and no output schema exists, so the description needn't explain return values. But with no annotations, it should say more about result ordering, per-query error semantics, and caching – gaps that matter for a batch tool.

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%, so the schema already documents queries, symbol, provider, chain, and forceRefresh. The description only restates the maxItems=20 cap already encoded in the schema, adding no new parameter meaning.

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 and resource ('Fetch prices') with explicit batch scope ('multiple assets/providers in a single request'). This implicitly separates it from the singular get_oracle_price sibling, but it never names an alternative outright.

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?

'multiple ... in a single request' implies the batch use case, so an agent can infer when this beats the single-asset tool. However, there is no explicit guidance on when to prefer it over get_oracle_price, get_consensus_price, or get_oracle_health, and no exclusion criteria.

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.