Skip to main content
Glama

Server Details

Enable AI assistants to interact seamlessly with the DefiLlama API by translating MCP tool calls i…

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Available Tools

16 tools
generate_yield_analysis_promptTry in Inspector

Generate a comprehensive prompt for analyzing DeFi yield pools data.

ParametersJSON Schema
NameRequiredDescriptionDefault
chainNoOptional blockchain filter for focused analysis
projectNoOptional project filter for focused analysis
get_chart__by_poolTry in Inspector

Get historical APY and TVL of a pool

ParametersJSON Schema
NameRequiredDescriptionDefault
poolYespool id, can be retrieved from /pools (property is called pool)
get_overview_dexsTry in Inspector

List all dexs along with summaries of their volumes and dataType history data

ParametersJSON Schema
NameRequiredDescriptionDefault
excludeTotalDataChartNotrue to exclude aggregated chart from response
excludeTotalDataChartBreakdownNotrue to exclude broken down chart from response
get_overview_dexs__by_chainTry in Inspector

List all dexs along with summaries of their volumes and dataType history data filtering by chain

ParametersJSON Schema
NameRequiredDescriptionDefault
chainYeschain name, list of all supported chains can be found under allChains attribute in /overview/dexs response
excludeTotalDataChartNotrue to exclude aggregated chart from response
excludeTotalDataChartBreakdownNotrue to exclude broken down chart from response
get_overview_feesTry in Inspector

List all protocols along with summaries of their fees and revenue and dataType history data

ParametersJSON Schema
NameRequiredDescriptionDefault
dataTypeNoDesired data type, dailyFees by default.
excludeTotalDataChartNotrue to exclude aggregated chart from response
excludeTotalDataChartBreakdownNotrue to exclude broken down chart from response
get_overview_fees__by_chainTry in Inspector

List all protocols along with summaries of their fees and revenue and dataType history data by chain

ParametersJSON Schema
NameRequiredDescriptionDefault
chainYeschain name, list of all supported chains can be found under allChains attribute in /overview/fees response
dataTypeNoDesired data type, dailyFees by default.
excludeTotalDataChartNotrue to exclude aggregated chart from response
excludeTotalDataChartBreakdownNotrue to exclude broken down chart from response
get_poolsTry in Inspector

Retrieve the latest data for all pools, including enriched information such as predictions

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

get_prices_current__by_coinsTry in Inspector

Get current prices of tokens by contract address Error Responses: 502: Internal error

ParametersJSON Schema
NameRequiredDescriptionDefault
coinsYesset of comma-separated tokens defined as {chain}:{address}
searchWidthNotime range on either side to find price data, defaults to 6 hours
get_protocol__by_protocolTry in Inspector

Get historical TVL of a protocol and breakdowns by token and chain

ParametersJSON Schema
NameRequiredDescriptionDefault
protocolYesprotocol slug
get_stablecoincharts_allTry in Inspector

Get historical mcap sum of all stablecoins

ParametersJSON Schema
NameRequiredDescriptionDefault
stablecoinNostablecoin ID, you can get these from /stablecoins
get_summary_dexs__by_protocolTry in Inspector

Get summary of dex volume with historical data

ParametersJSON Schema
NameRequiredDescriptionDefault
protocolYesprotocol slug
excludeTotalDataChartNotrue to exclude aggregated chart from response
excludeTotalDataChartBreakdownNotrue to exclude broken down chart from response
get_summary_fees__by_protocolTry in Inspector

Get summary of protocol fees and revenue with historical data

ParametersJSON Schema
NameRequiredDescriptionDefault
dataTypeNoDesired data type, dailyFees by default.
protocolYesprotocol slug
get_tvl__by_protocolTry in Inspector

Simplified endpoint to get current TVL of a protocol

ParametersJSON Schema
NameRequiredDescriptionDefault
protocolYesprotocol slug
get_v2_historicalChainTvlTry in Inspector

Get historical TVL (excludes liquid staking and double counted tvl) of DeFi on all chains

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

get_v2_historicalChainTvl__by_chainTry in Inspector

Get historical TVL (excludes liquid staking and double counted tvl) of a chain

ParametersJSON Schema
NameRequiredDescriptionDefault
chainYeschain slug, you can get these from /chains or the chains property on /protocols
get_yield_pools_enhancedTry in Inspector

Fetch DeFi yield pools with enhanced filtering and data transformation. Returns symbol, project, tvlUsd, apy, apyMean30d, predictions, poolUrl, and projectUrl for each pool.

ParametersJSON Schema
NameRequiredDescriptionDefault
chainNoOptional filter for blockchain (e.g., "Ethereum", "Solana")
limitNoOptional limit for number of results to return (e.g., 5, 10)
projectNoOptional filter for project name (e.g., "lido", "aave-v3")
tokenSymbolNoOptional filter for token symbol (e.g., "ETH", "USDC")

FAQ

How do I claim this server?

To claim this server, publish a /.well-known/glama.json file on your server's domain with the following structure:

{ "$schema": "https://glama.ai/mcp/schemas/connector.json", "maintainers": [ { "email": "your-email@example.com" } ] }

The email address must match the email associated with your Glama account. Once verified, the server will appear as claimed by you.

What are the benefits of claiming a server?
  • Control your server's listing on Glama, including description and metadata
  • Receive usage reports showing how your server is being used
  • Get monitoring and health status updates for your server
Try in Browser

Your Connectors

Sign in to create a connector for this server.