Skip to main content
Glama

SLO Error Budget Calculator

error-budget-calculator
Read-onlyIdempotent

Use this when a user asks about their SLO error budget, remaining error budget, or burn rate. Given SLO percentage and window, returns budget minutes remaining, burn rate multiplier, and status (Under budget / Elevated / ALERTING).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slo_pctYesService-level objective target expressed as a percentage.
window_daysNoLength of the service-level objective window in days.
consumed_minutesNoconsumed in minutes.
window_elapsed_daysNowindow elapsed days used by this deterministic tool.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
burn_rateYes
next_stepYes
next_step_urlYes
why_follow_upYes
budget_minutesYes
interpretationYes
affiliate_contextNo
computation_basisYes
remaining_minutesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / consumed_minutes / description
      Added value: +"consumed in minutes."
    • addedInput schema / properties / consumed_minutes / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / slo_pct / description
      Added value: +"Service-level objective target expressed as a percentage."
    • addedInput schema / properties / slo_pct / examples
      Added value: +[
      +  0.001
      +]
    • addedInput schema / properties / window_days / description
      Added value: +"Length of the service-level objective window in days."
    • addedInput schema / properties / window_days / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / window_elapsed_days / description
      Added value: +"window elapsed days used by this deterministic tool."
    • addedInput schema / properties / window_elapsed_days / examples
      Added value: +[
      +  1
      +]
    • addedOutput schema / properties / computation_basis
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "budget_minutes",
      -  "burn_rate",
      -  "interpretation",
      -  "next_step",
      -  "next_step_url",
      -  "remaining_minutes",
      -  "status",
      -  "why_follow_up"
      -]New value: +[
      +  "budget_minutes",
      +  "burn_rate",
      +  "computation_basis",
      +  "interpretation",
      +  "next_step",
      +  "next_step_url",
      +  "remaining_minutes",
      +  "status",
      +  "why_follow_up"
      +]
  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_minutes": {
      +      "type": "number"
      +    },
      +    "burn_rate": {
      +      "type": "number"
      +    },
      +    "interpretation": {
      +      "type": "string"
      +    },
      +    "next_step": {
      +      "type": "string"
      +    },
      +    "next_step_url": {
      +      "type": "string"
      +    },
      +    "remaining_minutes": {
      +      "type": "number"
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "why_follow_up": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "budget_minutes",
      +    "burn_rate",
      +    "interpretation",
      +    "next_step",
      +    "next_step_url",
      +    "remaining_minutes",
      +    "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