Skip to main content
Glama

SLO Burn Rate Calculator

slo-burn-rate-calculator
Read-onlyIdempotent

Use this when a user asks how fast they are burning their error budget, or whether their current error rate will exhaust their SLO window. Takes error count, total requests, SLO target, and observation window. Returns burn rate and budget consumption per hour.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sloYesService-level objective target expressed as a percentage.
totalYesTotal number of requests observed in the measurement window.
errorsYesNumber of failed requests observed in the measurement window.
window_hoursYesLength of the observed measurement window in hours.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
burn_rateYes
next_stepYes
window_hoursYes
next_step_urlYes
why_follow_upYes
error_rate_pctYes
interpretationYes
affiliate_contextNo
computation_basisYes
budget_consumed_pct_per_hourYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / properties / errors / description
      Added value: +"Number of failed requests observed in the measurement window."
    • addedInput schema / properties / errors / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / slo / description
      Added value: +"Service-level objective target expressed as a percentage."
    • addedInput schema / properties / slo / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / total / description
      Added value: +"Total number of requests observed in the measurement window."
    • addedInput schema / properties / total / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / window_hours
      Added value: +{
      +  "description": "Length of the observed measurement window in hours.",
      +  "examples": [
      +    1
      +  ],
      +  "minimum": 1,
      +  "type": "number"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "errors",
      -  "total",
      -  "slo"
      -]New value: +[
      +  "errors",
      +  "total",
      +  "slo",
      +  "window_hours"
      +]
    • addedOutput schema / properties / computation_basis
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / window_hours
      Added value: +{
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "budget_consumed_pct_per_hour",
      -  "burn_rate",
      -  "error_rate_pct",
      -  "interpretation",
      -  "next_step",
      -  "next_step_url",
      -  "status",
      -  "why_follow_up"
      -]New value: +[
      +  "budget_consumed_pct_per_hour",
      +  "burn_rate",
      +  "computation_basis",
      +  "error_rate_pct",
      +  "interpretation",
      +  "next_step",
      +  "next_step_url",
      +  "status",
      +  "why_follow_up",
      +  "window_hours"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "affiliate_context": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "affiliate": {
      +          "type": "string"
      +        },
      +        "cta_label": {
      +          "type": "string"
      +        },
      +        "disclosure": {
      +          "type": "string"
      +        },
      +        "framing": {
      +          "type": "string"
      +        },
      +        "posture": {
      +          "enum": [
      +            "secondary"
      +          ],
      +          "type": "string"
      +        },
      +        "slot_id": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        },
      +        "variant": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "affiliate",
      +        "cta_label",
      +        "disclosure",
      +        "framing",
      +        "posture",
      +        "slot_id",
      +        "url",
      +        "variant"
      +      ],
      +      "type": "object"
      +    },
      +    "budget_consumed_pct_per_hour": {
      +      "type": "number"
      +    },
      +    "burn_rate": {
      +      "type": "number"
      +    },
      +    "error_rate_pct": {
      +      "type": "number"
      +    },
      +    "interpretation": {
      +      "type": "string"
      +    },
      +    "next_step": {
      +      "type": "string"
      +    },
      +    "next_step_url": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "why_follow_up": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "budget_consumed_pct_per_hour",
      +    "burn_rate",
      +    "error_rate_pct",
      +    "interpretation",
      +    "next_step",
      +    "next_step_url",
      +    "status",
      +    "why_follow_up"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  4. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources