Skip to main content
Glama

Incident Cost Calculator

incident-cost-calculator
Read-onlyIdempotent

Use this when a user asks what an outage or incident cost, or wants to calculate the financial impact of downtime. Takes hourly revenue, downtime duration, and affected percentage. Returns revenue impact, engineering cost, and total incident cost in dollars.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eng_hourlyNoeng hourly used by this deterministic tool.
respondersNoresponders used by this deterministic tool.
affected_pctNoaffected expressed as a percentage.
downtime_hoursYesdowntime in hours.
hourly_revenueYeshourly revenue used by the calculation; monetary values are in USD unless stated otherwise.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
severityYes
next_stepYes
next_step_urlYes
why_follow_upYes
interpretationYes
total_cost_usdYes
affiliate_contextNo
computation_basisYes
revenue_impact_usdYes
engineering_cost_usdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • addedInput schema / properties / affected_pct / description
      Added value: +"affected expressed as a percentage."
    • addedInput schema / properties / affected_pct / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / downtime_hours / description
      Added value: +"downtime in hours."
    • addedInput schema / properties / downtime_hours / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / eng_hourly / description
      Added value: +"eng hourly used by this deterministic tool."
    • addedInput schema / properties / eng_hourly / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / hourly_revenue / description
      Added value: +"hourly revenue used by the calculation; monetary values are in USD unless stated otherwise."
    • addedInput schema / properties / hourly_revenue / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / responders / description
      Added value: +"responders used by this deterministic tool."
    • addedInput schema / properties / responders / examples
      Added value: +[
      +  1
      +]
    • addedOutput schema / properties / computation_basis
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "engineering_cost_usd",
      -  "interpretation",
      -  "next_step",
      -  "next_step_url",
      -  "revenue_impact_usd",
      -  "severity",
      -  "total_cost_usd",
      -  "why_follow_up"
      -]New value: +[
      +  "computation_basis",
      +  "engineering_cost_usd",
      +  "interpretation",
      +  "next_step",
      +  "next_step_url",
      +  "revenue_impact_usd",
      +  "severity",
      +  "total_cost_usd",
      +  "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"
      +    },
      +    "engineering_cost_usd": {
      +      "type": "number"
      +    },
      +    "interpretation": {
      +      "type": "string"
      +    },
      +    "next_step": {
      +      "type": "string"
      +    },
      +    "next_step_url": {
      +      "type": "string"
      +    },
      +    "revenue_impact_usd": {
      +      "type": "number"
      +    },
      +    "severity": {
      +      "type": "string"
      +    },
      +    "total_cost_usd": {
      +      "type": "number"
      +    },
      +    "why_follow_up": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "engineering_cost_usd",
      +    "interpretation",
      +    "next_step",
      +    "next_step_url",
      +    "revenue_impact_usd",
      +    "severity",
      +    "total_cost_usd",
      +    "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