Overview
12 tools for institutional-grade risk analysis including concentration monitoring, stress testing, whale tracking, and compliance reporting.Concentration Analysis
analyze_concentration
HHI analysis and whale detection for a market or vault. Returns concentration risk tier and diversification score.
Returns: HHI score, concentration risk tier, top depositors with share percentages, and diversification score.
get_vault_concentration
Dedicated concentration analysis for a specific vault with top depositors, risk tier, and diversification score.
Returns: Top depositors, HHI, concentration risk tier, and diversification assessment.
get_asset_concentration
Asset group concentration analysis across the protocol. Classifies collateral into groups (ETH, BTC, Stablecoins, etc.) and flags concentration when any group exceeds thresholds. No required parameters. Optional filters: protocol, chain. Returns: TVL per asset group, HHI across groups, and concentration warnings.Stress Testing
simulate_depeg
Model the impact of a collateral depeg event. Estimates liquidations, bad debt, per-market health factor impact, and cascading effects. Supports single-token or asset-group simulation.
Returns: Estimated liquidation volume, bad debt, affected markets with per-market health factor changes, and cascade risk assessment.
analyze_exposure
Collateral exposure analysis across vaults. Shows total protocol exposure to a specific token and simulates depeg impact.
Returns: Total exposure in USD, affected vaults and markets, and estimated impact of various depeg scenarios.
get_liquidation_risk_map
Map positions by proximity to liquidation. Identifies clusters that would cascade if prices move.
Returns: Position clusters grouped by liquidation proximity, cascade risk assessment, and total value at risk per price level.
Whale Intelligence
monitor_whale_activity
Track large position changes including new deposits, withdrawals, and leverage adjustments above a size threshold.
Returns: Recent whale movements with wallet address, action type, amount, market, and timestamp.
get_top_wallets
Top wallets by total value across protocols. Ranked by size with per-wallet risk flags, average health factor, and leverage.
Returns: Ranked wallets with total value, position count, average health factor, average leverage, and risk flags.
Compliance and Reporting
generate_risk_report
Comprehensive risk report for a wallet, market, or protocol. Suitable for institutional compliance review.
Returns: Structured risk report with executive summary, detailed metrics, risk factors, and recommendations.