Skip to main content
Glama

EC2 Cost Calculator

ec2-cost-calculator
Read-onlyIdempotent

Use when a user asks about EC2 cost. Given instance type and hours, returns monthly cost and DO-equivalent savings estimate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
osNoos used by this deterministic tool.
instance_typeYesinstance type used by this deterministic tool.
hours_per_monthNohours per month used by this deterministic tool.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
next_stepYes
do_savingsYes
annual_costYes
hourly_rateYes
output_tierYes
monthly_costYes
signal_valueYes
next_step_urlYes
why_follow_upYes
interpretationYes
affiliate_contextNo
computation_basisYes
do_equivalent_monthlyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / hours_per_month / examples
      Previous value: -[
      -  1
      -]New value: +[
      +  730
      +]
    • changedInput schema / properties / instance_type / examples
      Previous value: -[
      -  "example"
      -]New value: +[
      +  "t3.medium"
      +]
    • changedInput schema / properties / os / examples
      Previous value: -[
      -  "example"
      -]New value: +[
      +  "Linux"
      +]
  2. Changed6 schema fields changed
    • addedInput schema / properties / hours_per_month / description
      Added value: +"hours per month used by this deterministic tool."
    • addedInput schema / properties / hours_per_month / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / instance_type / description
      Added value: +"instance type used by this deterministic tool."
    • addedInput schema / properties / instance_type / examples
      Added value: +[
      +  "example"
      +]
    • addedInput schema / properties / os / description
      Added value: +"os used by this deterministic tool."
    • addedInput schema / properties / os / examples
      Added value: +[
      +  "example"
      +]
  3. 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"
      +    },
      +    "annual_cost": {
      +      "type": "number"
      +    },
      +    "computation_basis": {
      +      "type": "string"
      +    },
      +    "do_equivalent_monthly": {
      +      "type": "number"
      +    },
      +    "do_savings": {
      +      "type": "number"
      +    },
      +    "hourly_rate": {
      +      "type": "number"
      +    },
      +    "interpretation": {
      +      "type": "string"
      +    },
      +    "monthly_cost": {
      +      "type": "number"
      +    },
      +    "next_step": {
      +      "type": "string"
      +    },
      +    "next_step_url": {
      +      "type": "string"
      +    },
      +    "output_tier": {
      +      "type": "string"
      +    },
      +    "signal_value": {
      +      "type": "number"
      +    },
      +    "why_follow_up": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "annual_cost",
      +    "computation_basis",
      +    "do_equivalent_monthly",
      +    "do_savings",
      +    "hourly_rate",
      +    "interpretation",
      +    "monthly_cost",
      +    "next_step",
      +    "next_step_url",
      +    "output_tier",
      +    "signal_value",
      +    "why_follow_up"
      +  ],
      +  "type": "object"
      +}
  4. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  5. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources