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

TableJSON 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 / 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"
      +]
  2. First observed

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden yet discloses nothing about caching behavior, rate limits, partial-failure handling (e.g., what happens if one of the 20 queries is invalid), or return shape. The caching hint ('force refresh instead of cache') lives only in the schema, not the description.

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?

Two tight sentences with the batch scope front-loaded and zero filler. Every clause earns its place.

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?

No annotations and no output schema, so the description should compensate by explaining batch return behavior and error/partial-failure semantics, which it omits. Adequate to identify the tool but incomplete for a batch endpoint where partial-failure handling matters.

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 and forceRefresh. The description's 'Up to 20 queries' merely restates the schema's maxItems: 20 and adds no new meaning, so the baseline 3 applies.

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 clear verb and resource ('Fetch prices') and scopes it as a batch operation for 'multiple assets/providers in a single request.' This inherently distinguishes it from the singular get_oracle_price sibling, though it does not name that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use guidance, no mention of when to prefer this over calling get_oracle_price repeatedly or over other batch/aggregate siblings. The only constraint offered is 'Up to 20 queries,' which is a limit rather than usage direction.

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