SLA downtime budget
calculate_sla_budgetTurn an uptime target and period length into a downtime budget, then compare observed downtime. Numeric scenarios only. This assumes a continuous 24-hour service and a fixed day count. Contract exclusions, overlapping incidents, maintenance windows and service credits require interval and contract review; this is not a credit claim.
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": {
"days": "<days>",
"target": "<target>",
"downtime": "<downtime>"
},
"name": "calculate_sla_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Days in the period | |
| target | Yes | Uptime target (%) | |
| downtime | Yes | Observed downtime (minutes) |