Skip to main content
Glama

Get markets / reserves

get_markets
Read-only

List Aave markets/reserves (symbol, APY, caps, liquidity) on v3, v4, or both. Chain coverage: omit chainId and every response states the chains it read as 'chainsCovered', plus 'chainsNotCovered' when it read fewer than all of them. 'chainsNotServed', when present, lists chains this API holds no market on: Aave supports the chain, there is nothing here to read, so an empty result for one of them is not an answer about that chain, and asking again returns the same nothing. v4 always covers every chain it serves; v3 covers every chain when you pass 'symbols' and Ethereum alone when you do not, because an unfiltered 21-chain listing is hundreds of kilobytes. So to compare one asset across chains, pass symbols and no chainId. Every rate is a percent ('3.32' means 3.32%), named with a Pct suffix. Do not rank on APY alone: 'suppliable'/'borrowable' (v4), 'availableLiquidity' and 'totalSuppliedUsd' (v3) say whether a rate can actually be entered, and isFrozen / isPaused / supplyCapReached / borrowCapReached appear only when set, so a reserve with none of them is not flagged. Both versions return one row per reserve under 'reserves', carrying supplyApyPct and borrowApyPct together plus canSupply / canBorrow for the sides that are actually open, so the two versions read the same way. On v4 one asset appears once per spoke, so rows are labelled with 'spoke' and 'hub'; spokes sharing a hub share its rate, so identical APYs across rows are expected rather than duplicates. 'canSwapFrom' (v4) says whether that token can be the sell side of a token swap, which is the per-reserve form of what get_swappable_tokens answers per chain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userNoOptional wallet address (0x, 40 hex). Adds walletBalance, youCanSupply and youCanBorrow to every row, for this wallet, in the same call. Pass it whenever the question is about what someone can actually do rather than what the rates are.
chainIdNoChain id to restrict to, e.g. 1 for Ethereum. Omit the argument entirely to cover every chain.
symbolsNoOptional token symbols to return, e.g. ['USDC','GHO']. Case-insensitive. Strongly preferred when you know the asset: a chain has ~70 reserves and listing them all is a large response.
versionNoProtocol version (default all).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the bar is for added context, and this description goes far beyond: it discloses response metadata fields (chainsCovered, chainsNotCovered, chainsNotServed), conditional flags that 'appear only when set, so a reserve with none of them is not flagged', the v3/v4 coverage asymmetry, the percent-unit convention, and that identical APYs across spoke rows 'are expected rather than duplicates'. Nothing contradicts the annotations.

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?

Long but with zero filler: every sentence addresses a distinct misinterpretation risk (coverage semantics, empty-result trap, APY ranking, conditional flags, spoke/hub duplicates, per-reserve swap semantics). The purpose is front-loaded in the first sentence, and the trade-off against response size ('hundreds of kilobytes') justifies behavior rather than padding prose.

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

Completeness5/5

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

There is no output schema, so the description carries the full burden of explaining return values — and it does: row shape under 'reserves', paired supplyApyPct/borrowApyPct fields, per-version fields (suppliable/borrowable vs availableLiquidity/totalSuppliedUsd), the user param's row additions (walletBalance, youCanSupply, youCanBorrow), and chain coverage metadata. For a 21-chain, two-version listing tool with no output schema, this is complete.

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?

Schema coverage is 100% with already-strong param descriptions, so the baseline is 3. The description adds genuine cross-parameter semantics: passing symbols changes v3 coverage from Ethereum-only to all chains, omitting chainId triggers the chainsCovered/chainsNotCovered metadata, and the Pct-suffix naming convention. This is additive, but the schema still carries most per-parameter load, so not a 5.

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?

Opens with a specific verb+resource+scope: 'List Aave markets/reserves (symbol, APY, caps, liquidity) on v3, v4, or both.' It names the entities, the data dimensions, and the version axis, and it differentiates from siblings by explicitly contrasting canSwapFrom with what get_swappable_tokens answers per chain.

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

Usage Guidelines5/5

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

Gives explicit when-to-use directives with conditions: 'to compare one asset across chains, pass symbols and no chainId', 'Pass it [user] whenever the question is about what someone can actually do rather than what the rates are', and the symbols param's 'Strongly preferred when you know the asset' guidance. It also warns when NOT to trust results ('an empty result for one of them is not an answer about that chain') and names the alternative tool (get_swappable_tokens).

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