Skip to main content
Glama

get_v4_exchange_rate

Get exchange rates for any token via Aave V4's Chainlink oracle. Supports ERC-20, native tokens, and fiat currencies without requiring an API key.

Instructions

Get exchange rate for any token via Aave V4's Chainlink oracle integration. Supports ERC-20 tokens, native tokens (ETH), and fiat currencies. No API key needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoTarget currency: USD, EUR, or GBPUSD
nativeNoSet true to get native token (ETH) price instead of ERC-20
chainIdNoChain ID for the token
tokenAddressNoERC-20 token address (e.g. WETH: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2)
Behavior2/5

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

With no annotations provided, the description bears full responsibility for behavioral disclosure. It only states it supports various tokens but omits critical details like read-only nature, data freshness, error handling, or behavior with conflicting parameters (e.g., 'native' and 'tokenAddress' both set).

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?

The description is extremely concise (two sentences), front-loaded with the core purpose, and avoids any redundant information. Each phrase adds value.

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?

Given the simple tool, the description adequately covers the main function. However, since there is no output schema, mentioning what the return value contains (e.g., plain number vs. detailed object) would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema covers all four parameters (100% coverage). The description adds meaning by contextualizing parameter usage (e.g., 'native' for ETH, 'to' for fiat, 'tokenAddress' for ERC-20), enhancing understanding beyond the schema alone.

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

Purpose5/5

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

The description clearly states the tool's purpose: getting exchange rates for tokens via Aave V4's Chainlink oracle. It specifies supported types (ERC-20, native tokens, fiat) and distinguishes from sibling tools like 'find_best_rates' or 'get_v4_asset'.

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 description implies usage for fetching exchange rates and mentions 'No API key needed', but lacks explicit guidance on when to use this tool versus alternatives (e.g., 'find_best_rates') or when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PaulieB14/graph-aave-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server