Skip to main content
Glama

get_rates

Read-onlyIdempotent

Fetch real-time supply APYs across Aave V3 and Morpho on Base Mainnet and identify the protocol yielding higher returns for capital recovery.

Instructions

Get real-time supply APYs across Aave V3 and Morpho on Base Mainnet. Automatically indicates the most profitable protocol for capital recovery.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refreshNoForce a live on-chain refresh rather than using cached rates (defaults to false).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
aaveYesAave V3 supply yield on Base Mainnet
bestYesProtocol with the highest yield
morphoYesMorpho Vault supply yield on Base Mainnet
bestApyYesHighest supply APY currently available
isCachedNoWhether rates were served from in-memory cache
lastUpdatedNoISO 8601 timestamp of last oracle update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.3

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered. The description adds only that data is real-time and aggregated across two protocols; freshness/caching behavior is left to the schema's refresh parameter rather than 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, zero filler, with the resource, protocols, and chain front-loaded before the profitability note. 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?

An output schema exists, so return values need not be explained, and annotations cover safety; the description supplies protocol and chain scope plus the profitability signal. It could still note aggregation or update cadence, but nothing essential for correct invocation is missing.

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?

With a single parameter at 100% schema description coverage, the schema fully documents 'refresh' and its default. The description contributes only the generic notion of 'real-time' data, which loosely maps to the refresh semantics but adds no format or syntax detail beyond the schema.

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 names a specific verb and resource ('Get real-time supply APYs'), scopes it to concrete protocols and chain (Aave V3, Morpho, Base Mainnet), and is clearly distinct from the siblings get_quote and build_payment. An agent can identify the tool's domain without opening the schema.

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: 'the most profitable protocol for capital recovery' suggests when the tool is useful, but there is no explicit when-to-use/when-not guidance and no routing against get_quote or build_payment, which an agent may need to disambiguate rate-checking from quoting.

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

Deploy Server

Other Tools