Skip to main content
Glama

aave_get_asset_prices

Retrieves oracle prices for multiple token addresses on a chosen chain in one call, enabling asset valuation and lending or portfolio calculations.

Instructions

Get oracle prices for multiple assets in a single call

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>",
      "assets": "<assets>"
    },
    "name": "aave_get_asset_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesChain to query (ethereum, polygon, arbitrum, optimism, base, avalanche)
assetsYesArray of token addresses to price

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses batching ('single call') but says nothing about the oracle source, price decimals/units, freshness, or what happens if an asset address is not a supported reserve on the given chain — meaningful gaps for a price-read tool that returns raw numbers.

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, but its brevity is close to under-specification rather than tight editing — nothing is wasted, yet little is contributed.

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 tool is simple (2 required params, 100% schema coverage, no nesting), and the description covers the core action. However, with no output schema and no description of return shape or units, an agent cannot know what the prices look like or how to interpret them.

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 both the chain enum and the address-array pattern are fully documented in the schema. The description adds only the plural-scope hint ('multiple assets'), 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 specific verb and resource ('Get oracle prices') and adds the scope 'multiple assets in a single call', which implicitly distinguishes it from the singular sibling aave_get_asset_price. It does not name that sibling, but the batch/single contrast is legible from the text alone.

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 only implied: 'multiple assets in a single call' suggests using this when pricing more than one token, but there is no explicit when-to-use, when-not-to-use, or named alternative such as aave_get_asset_price for single lookups. The agent must infer the routing decision.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.