Estimate SLO Error Budget
estimate_slo_error_budgetCalculate remaining SLO error budget in downtime and optional failed-request terms for a fixed period using target, period length, observed downtime, and request counts.
Instructions
Calculate remaining SLO downtime budget and, when request counts are supplied, remaining failed-request budget for a fixed period. Use this as a deterministic budget calculator; do not use it to fetch monitoring data or forecast reliability. It performs no external calls and changes no service state.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sloTargetPercent": "<sloTargetPercent>",
"periodDays": "<periodDays>",
"observedDowntimeMinutes": "<observedDowntimeMinutes>"
},
"name": "estimate_slo_error_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| periodDays | Yes | Length of the SLO measurement period in calendar days. | |
| requestVolume | No | Optional total request count for calculating a request-failure error budget. | |
| failedRequests | No | Optional failed request count; provide together with requestVolume. | |
| sloTargetPercent | Yes | Target service availability percentage for the measurement period, such as 99.9. | |
| observedDowntimeMinutes | Yes | Downtime already observed during the measurement period, in minutes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| periodDays | Yes | ||
| budgetStatus | Yes | ||
| failedRequests | No | ||
| sloTargetPercent | Yes | ||
| allowedFailedRequests | No | ||
| allowedDowntimeMinutes | Yes | ||
| observedDowntimeMinutes | Yes | ||
| remainingFailedRequests | No | ||
| remainingDowntimeMinutes | Yes |