Skip to main content
Glama

Reserved Instance Breakeven Calculator

reserved-instance-breakeven
Read-onlyIdempotent

Use this when a user asks whether to buy Reserved Instances or stay on On-Demand, or how long an RI takes to pay for itself. Takes On-Demand and RI monthly costs plus optional upfront fees (0 when omitted). Judges the 1-year and 3-year terms separately and returns each break-even month and net saving. It recommends a term only when that term saves money over its own length, and prefers 3 years only when it beats three 1-year terms over 36 months at current prices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
od_monthlyYesOn-Demand cost per month in USD.
ri_1yr_monthlyYes1-year Reserved Instance cost per month in USD, excluding the upfront fee.
ri_1yr_upfrontNo1-year upfront fee in USD; 0 when omitted (no-upfront RI).
ri_3yr_monthlyYes3-year Reserved Instance cost per month in USD, excluding the upfront fee.
ri_3yr_upfrontNo3-year upfront fee in USD; 0 when omitted (no-upfront RI).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
severityYes
next_stepYes
next_step_urlYes
why_follow_upYes
interpretationYes
breakeven_monthsNo
recommended_termYes
affiliate_contextNo
computation_basisYes
net_savings_1yr_usdYes
net_savings_3yr_usdYes
breakeven_months_3yrNo
monthly_saving_1yr_usdYes
monthly_saving_3yr_usdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changed
    • changedInput schema / properties / od_monthly / description
      Previous value: -"od monthly used by this deterministic tool."New value: +"On-Demand cost per month in USD."
    • changedInput schema / properties / od_monthly / examples
      Previous value: -[
      -  1
      -]New value: +[
      +  450
      +]
    • addedInput schema / properties / od_monthly / exclusiveMinimum
      Added value: +0
    • changedInput schema / properties / ri_1yr_monthly / description
      Previous value: -"ri 1yr monthly used by this deterministic tool."New value: +"1-year Reserved Instance cost per month in USD, excluding the upfront fee."
    • changedInput schema / properties / ri_1yr_monthly / examples
      Previous value: -[
      -  1
      -]New value: +[
      +  280
      +]
    • addedInput schema / properties / ri_1yr_monthly / minimum
      Added value: +0
    • changedInput schema / properties / ri_1yr_upfront / description
      Previous value: -"ri 1yr upfront used by this deterministic tool."New value: +"1-year upfront fee in USD; 0 when omitted (no-upfront RI)."
    • changedInput schema / properties / ri_1yr_upfront / examples
      Previous value: -[
      -  1
      -]New value: +[
      +  0
      +]
    • addedInput schema / properties / ri_1yr_upfront / minimum
      Added value: +0
    • changedInput schema / properties / ri_3yr_monthly / description
      Previous value: -"ri 3yr monthly used by this deterministic tool."New value: +"3-year Reserved Instance cost per month in USD, excluding the upfront fee."
    • changedInput schema / properties / ri_3yr_monthly / examples
      Previous value: -[
      -  1
      -]New value: +[
      +  180
      +]
    • addedInput schema / properties / ri_3yr_monthly / minimum
      Added value: +0
    • changedInput schema / properties / ri_3yr_upfront / description
      Previous value: -"ri 3yr upfront used by this deterministic tool."New value: +"3-year upfront fee in USD; 0 when omitted (no-upfront RI)."
    • changedInput schema / properties / ri_3yr_upfront / examples
      Previous value: -[
      -  1
      -]New value: +[
      +  0
      +]
    • addedInput schema / properties / ri_3yr_upfront / minimum
      Added value: +0
    • addedOutput schema / properties / breakeven_months_3yr
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / monthly_saving_1yr_usd
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / monthly_saving_3yr_usd
      Added value: +{
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "computation_basis",
      -  "interpretation",
      -  "net_savings_1yr_usd",
      -  "net_savings_3yr_usd",
      -  "next_step",
      -  "next_step_url",
      -  "recommended_term",
      -  "severity",
      -  "why_follow_up"
      -]New value: +[
      +  "computation_basis",
      +  "interpretation",
      +  "monthly_saving_1yr_usd",
      +  "monthly_saving_3yr_usd",
      +  "net_savings_1yr_usd",
      +  "net_savings_3yr_usd",
      +  "next_step",
      +  "next_step_url",
      +  "recommended_term",
      +  "severity",
      +  "why_follow_up"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / required
      Previous value: -[
      -  "breakeven_months",
      -  "computation_basis",
      -  "interpretation",
      -  "net_savings_1yr_usd",
      -  "net_savings_3yr_usd",
      -  "next_step",
      -  "next_step_url",
      -  "recommended_term",
      -  "severity",
      -  "why_follow_up"
      -]New value: +[
      +  "computation_basis",
      +  "interpretation",
      +  "net_savings_1yr_usd",
      +  "net_savings_3yr_usd",
      +  "next_step",
      +  "next_step_url",
      +  "recommended_term",
      +  "severity",
      +  "why_follow_up"
      +]
  3. Changed12 schema fields changed
    • addedInput schema / properties / od_monthly / description
      Added value: +"od monthly used by this deterministic tool."
    • addedInput schema / properties / od_monthly / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / ri_1yr_monthly / description
      Added value: +"ri 1yr monthly used by this deterministic tool."
    • addedInput schema / properties / ri_1yr_monthly / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / ri_1yr_upfront / description
      Added value: +"ri 1yr upfront used by this deterministic tool."
    • addedInput schema / properties / ri_1yr_upfront / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / ri_3yr_monthly / description
      Added value: +"ri 3yr monthly used by this deterministic tool."
    • addedInput schema / properties / ri_3yr_monthly / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / ri_3yr_upfront / description
      Added value: +"ri 3yr upfront used by this deterministic tool."
    • addedInput schema / properties / ri_3yr_upfront / examples
      Added value: +[
      +  1
      +]
    • addedOutput schema / properties / computation_basis
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "breakeven_months",
      -  "interpretation",
      -  "net_savings_1yr_usd",
      -  "net_savings_3yr_usd",
      -  "next_step",
      -  "next_step_url",
      -  "recommended_term",
      -  "severity",
      -  "why_follow_up"
      -]New value: +[
      +  "breakeven_months",
      +  "computation_basis",
      +  "interpretation",
      +  "net_savings_1yr_usd",
      +  "net_savings_3yr_usd",
      +  "next_step",
      +  "next_step_url",
      +  "recommended_term",
      +  "severity",
      +  "why_follow_up"
      +]
  4. 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"
      +    },
      +    "breakeven_months": {
      +      "type": "number"
      +    },
      +    "interpretation": {
      +      "type": "string"
      +    },
      +    "net_savings_1yr_usd": {
      +      "type": "number"
      +    },
      +    "net_savings_3yr_usd": {
      +      "type": "number"
      +    },
      +    "next_step": {
      +      "type": "string"
      +    },
      +    "next_step_url": {
      +      "type": "string"
      +    },
      +    "recommended_term": {
      +      "type": "string"
      +    },
      +    "severity": {
      +      "type": "string"
      +    },
      +    "why_follow_up": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "breakeven_months",
      +    "interpretation",
      +    "net_savings_1yr_usd",
      +    "net_savings_3yr_usd",
      +    "next_step",
      +    "next_step_url",
      +    "recommended_term",
      +    "severity",
      +    "why_follow_up"
      +  ],
      +  "type": "object"
      +}
  5. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  6. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources