Uptime and SLA calculator
uptime_calculatorTurns an uptime percentage such as 99.9 into the downtime it allows per day, week, month, quarter and year, or turns a length of downtime in a period into the uptime percentage.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "uptime_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Period the downtime falls in. Defaults to month. | |
| sla_percent | No | Uptime percentage above 0 and up to 100, at most 5 decimals, such as 99.9 or 99.95%. | |
| downtime_hours | No | Hours of downtime, to get the uptime percentage. | |
| downtime_minutes | No | Minutes of downtime, added to downtime_hours. |