Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Tools

Functions exposed to the LLM to take actions

NameDescription
get_latest_rates

Get the latest DeFi lending rates (collateralized borrowing markets). You can filter by platform, chain, asset, or collateral.

get_earn_markets

Get single-asset earn/vault products (no collateral required). Includes Morpho Vaults, Spark sUSDS/stUSDS, Compound cTokens, AAVE aTokens, etc. These are simple deposit products that earn yield without borrowing.

get_dbi_index

Get the DBI (DeFi Borrow Index) - a weighted average of stablecoin borrow rates across major protocols.

search_best_rates

Find the best borrow or supply rates for a specific asset.

calculate_looping_strategy

Calculate the leverage looping strategy metrics including leverage multiplier, liquidation price, and interest costs.

compare_platforms

Compare borrow/supply rates across different platforms for the same asset pair.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/qingfeng/defi-rates-mcp'

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