Skip to main content
Glama

Market Intelligence API (core)

DeFi yields

defi.yields
Read-onlyIdempotent

DeFi lending yields ($0.002): supply and borrow APY, utilization and USD size of every Aave v3 (Ethereum, Base, Arbitrum, Optimism, Polygon), Spark and Compound v3 market, read on chain every 10 minutes, highest supply APY first, with the best USDC, USDT, WETH, WBTC and DAI rate. Base yield only (no reward tokens).

Input Schema

NameRequiredDescriptionDefault
assetNoToken symbol (USDC, WETH, ...) or stablecoins for every stablecoin; omit for all
chainNoChain of the token or pool: base (default), ethereum, arbitrum, optimism or polygon (solana where listed). Not the payment network
limitNoMaximum number of results
protocolNo
minTvlUsdNoLeave out markets with less supplied

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive. The description adds valuable context beyond them: a $0.002 cost, 10-minute on-chain refresh cadence, base-yield-only scope, and result ordering. This is solid behavioral detail layered on top of the safety annotations.

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 dense sentence that front-loads purpose, price and sort order, with no filler sentences. It is somewhat crammed with parenthetical lists, but every clause carries information.

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?

With no output schema, the description compensates by naming the returned fields (supply/borrow APY, utilization, USD size), the sort order and refresh cadence. It is nearly complete for an agent to invoke and interpret results, though it could clarify parameter interactions (e.g. asset vs chain defaults).

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 coverage is 80%, so the schema already documents asset, chain, limit, protocol and minTvlUsd. The description echoes example assets and chains but adds no syntax or semantics beyond what the schema provides. Baseline 3 applies when structured data does the heavy lifting.

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?

States a precise resource (DeFi lending yields) with the exact metrics returned (supply/borrow APY, utilization, USD size), the protocols (Aave v3, Spark, Compound v3) and chains covered. No sibling tool overlaps this domain, so differentiation is inherent.

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 the use case (finding the best supply rate for major assets) and notes scope limits ('base yield only, no reward tokens'), but gives no explicit when-to-use/when-not guidance or alternatives. Usage is inferable but not stated.

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