| name | protocol-deep-dive |
| description | Comprehensive single-protocol analysis combining TVL, fees, revenue, yields, events, income, and user activity. Produces a full protocol report. Use when the user asks for a complete overview, deep dive, "tell me everything about" a protocol, or a protocol research report.
|
Protocol Deep Dive
Perform a thorough analysis of a single DeFi protocol by combining multiple
data sources into one structured report.
Workflow
Step 1 - Resolve the protocol entity
If the protocol slug is unknown or ambiguous, resolve it first.
defillama:resolve_entity
entity_type: "protocol"
name: "<user-provided name>"
Step 2 - Core protocol metrics
Fetch TVL, fees, revenue, market cap, ratios, and trend data.
defillama:get_protocol_metrics
protocol: "<slug>"
Key fields to surface: tvl_base, fees_1d, revenue_1d, mcap,
ps_ratio, pf_ratio, tvl_base_7d_pct_change, tvl_base_30d_pct_change.
Step 3 - Top yield pools
Retrieve the protocol's highest-TVL pools to show yield opportunities.
defillama:get_yield_pools
protocol: "<slug>"
Highlight pools with the highest TVL and APY. Note any pools where the
base APY is very low and rewards dominate (sustainability signal).
Step 4 - Recent events
Check for hacks, fundraises, or other notable events.
defillama:get_events
protocol: "<slug>"
event_type: "hacks"
Also check for fundraising activity:
defillama:get_events
protocol: "<slug>"
event_type: "raises"
Step 5 - Income statement
Get the revenue breakdown to understand where income comes from.