mv_get_calibration
Derive normal ranges and anomaly thresholds for DeFi markets using historical data, enabling peer comparison and assertion-ready calibration.
Instructions
Calibration oracle: what does "normal" look like for a market, pool, or IBT?
Produces statistical baselines from historical data — percentiles, anomaly thresholds, peer comparison, and assertion-ready language.
This is the bridge between perception (monitoring tools) and specification (security assertions like Phylax Credible Layer). The tool answers "what should the threshold be?" from observation, not theory.
For each metric (borrow APY, utilization, TVL, implied APY, etc.), returns:
Normal range (5th-95th percentile from historical data)
Current status (normal / elevated / anomalous)
Anomaly threshold (conservative: min of 3-sigma and 2x historical max)
Peer comparison (where this market sits among similar markets)
Assertion hints (natural language threshold suggestions)
Supports Morpho markets (by market key), Pendle markets (by market address), and Spectra pools (by pool/PT address). Auto-detects target type from address format (64-char hex = Morpho, 40-char hex = Pendle/Spectra).
Use morpho_get_history or pendle_get_market_history for raw time-series. Use mv_check_ibt_health for single-point health snapshots. Use this tool when you need to CALIBRATE — set thresholds, compare to peers, or export knowledge about what normal looks like.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | The blockchain network | |
| target_address | Yes | Market key (Morpho 0x+64 hex), market address (Pendle 0x+40 hex), or pool/PT address (Spectra 0x+40 hex) | |
| target_type | No | Target type. Auto-detected from address format if omitted. | |
| period | No | Historical period for calibration (default 30d) | 30d |
| include_peers | No | Compare to similar markets on the same chain (default true) |