Loading...
Loading...
Core reference for DefiLlama MCP tools. Maps DeFi questions to the correct tool call with proper parameters. Covers entity conventions, metric interpretation, stock vs flow distinctions, percentage formatting, and error recovery. Use whenever querying DeFi data — protocol TVL, token prices, chain metrics, fees, revenue, yields, stablecoins, bridges, ETFs, hacks, raises, treasuries, or institutional holdings.
npx skill4agent add defillama/defillama-skills defi-data| Question | Tool | Key Params |
|---|---|---|
| Total DeFi TVL, global volumes | | |
| Protocol TVL, fees, revenue | | |
| Chain TVL, gas fees, REV | | |
| Token price, mcap, ATH | | |
| Category rankings | | |
| Pool APY, lending rates | | |
| Stablecoin supply | | |
| ETF inflows/outflows | | |
| Bridge volume | | |
| CEX volume | | |
| Open interest | | |
| Hacks/exploits | | |
| Fundraising | | |
| Protocol events | | |
| Protocol treasury | | |
| Institutional holdings | | |
| Token unlocks | | |
| Token TVL in protocols | | |
| Oracle coverage | | |
| User activity | | |
| Income statement | | |
| Protocol metadata, URLs, audit | | |
| Chain metadata, type, L2 parent | | |
| List valid categories | | |
| Unknown entity slug | | |
aaveuniswapcompound-v3ethereumsolanaarbitrumcoingecko:coingecko:ethereumcoingecko:bitcoincoingecko:usd-coinbinance-cexcoinbase-cexhtxgate-ioLendingDEXDerivativesaaveget_protocol_metricsaave-v3resolve_entityslugparent_protocolparent_protocolget_protocol_metricsslugprotocol: "compound"protocol: "aave"protocol: ["aave", "lido", "compound"]chain: "ethereum"chain: ["ethereum", "solana"]token: "coingecko:ethereum"token: ["coingecko:ethereum", "coingecko:bitcoin"]defillama:resolve_entityperiodtime_rangecurrent7d30d90d180d365dstart_dateend_dateperiodstart_dateend_datetvlpricemcapfees_1drevenue_1dvolume*_pct_changeapytvl_basetvl_ls_onlytvl_dc_onlytvl_ls_and_dctvl_base + tvl_ls_only + tvl_dc_only + tvl_ls_and_dcfeesrevenueholder_revenuechain_feeschain_revenuechain_mevapp_feesapp_revenuetvl_basetvl_stakingtvl_borrowedtvl_pool2tvl_treasurytvl_vesting_1d/_7d/_30d/_90d/_180d/_365d/_ytd/_alltime/_annualisedfeesrevenueholder_revenueincentivevolume_dexsvolume_aggregatorsvolume_derivativesvolume_aggr_derivativesvolume_optionspricemcapfdvfdv_outstandingtoken_volumeps_ratiopf_ratio_currentchain_feeschain_revenuechain_mevapp_feesapp_revenuefeesrevenue_1dget_protocol_metricsget_category_metricstotal_supplymcapps_ratiopf_ratioprotocol: "aave"protocol: ["aave", "lido"]protocolprotocols"tvl_base desc""fees_1d desc"defillama:get_protocol_metrics(protocol: "aave", metrics: ["tvl_base"])defillama:get_chain_metrics(sort_by: "chain_fees_1d desc", limit: 5)defillama:get_token_prices(token: "coingecko:ethereum", period: "90d")defillama:get_token_prices(token: "coingecko:ethereum")defillama:get_chain_metrics(chain: "ethereum")defillama:get_events(event_type: "hacks", sort_by: "amount desc", limit: 10, period: "365d")defillama:get_protocol_metrics(protocol: "aave", metrics: ["tvl_base"], start_date: "2025-01-01", end_date: "2025-03-31")defillama:resolve_entity(name: "...")resolve_entity