propose_alert_rules
Analyzes call patterns and proposes non-overlapping alert rules for cost, latency, error rate, and anomaly to prevent issues before they occur. Returns baseline metrics and actionable recommendations.
Instructions
Analyze the call patterns over the past lookbackDays (7-30, default 14) and propose recommended alert rules for cost / latency / error_rate / anomaly as JSON. Applying them is a separate step via create_alert after customer confirmation (propose only — zero side effects). Only rules that do not overlap existing alerts are proposed (existing types are fetched via list_alerts). Returns { lookbackDays, baseline: {meanDailyCost (USD), p95Latency (ms), errorRate (percent 0-100), dailyCalls, totalCalls}, proposals: [{ name, alertType, thresholdValue, windowMinutes, reasoning }], skipped: [{ alertType, reason }] }. The thresholdValue of an error_rate proposal is also a percent (consistent with backend create_alert). What big-vendor dashboards show in UI, done MCP-first in one prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lookbackDays | No | Lookback days for computing the baseline (7-30, default 14) |