morpho_monitor_risk
Monitor liquidation risk across Morpho positions. Computes health factor, liquidation price, distance-to-liquidation, and flags positions approaching danger zones.
Instructions
Monitor liquidation risk across a curator's Morpho positions.
Computes health factor, liquidation price, distance-to-liquidation, and borrow rate for every borrowing position. Flags positions approaching danger zones.
Morpho has NO close factor — when health factor reaches 1.0, the ENTIRE position can be liquidated in one transaction. This makes distance-to-liquidation critical: a 14% distance means a 14% collateral price drop wipes the position completely.
Alert levels scaffold attention, not action — multiple signals may disagree:
ok: position healthy, no immediate concern
watch: distance below threshold or rate elevated — worth monitoring
warning: health factor < 1.3 or distance dangerously low
critical: health factor < 1.1 or distance < 5% — immediate attention needed
Use morpho_get_positions for raw position data without risk analysis. Use morpho_get_history to assess borrow rate stability over time. Use spectra_get_looping_strategy to model deleverage scenarios.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Curator wallet address to monitor (0x...) | |
| chain | No | Restrict to a single chain. Omit to scan all Morpho-capable chains. | |
| alert_threshold_pct | No | Warn when distance-to-liquidation drops below this % (default 15) |