Skip to main content
Glama

Compute Rightsizing Calculator

rightsizing-calculator
Read-onlyIdempotent

Use when a user asks about instance rightsizing or overprovisioned compute.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hourly_costNohourly cost used by the calculation; monetary values are in USD unless stated otherwise.
p99_cpu_pctYesp99 cpu expressed as a percentage.
current_vcpuYescurrent vcpu used by this deterministic tool.
instance_countNoinstance count used by this deterministic tool.
p99_memory_pctYesp99 memory expressed as a percentage.
current_memory_gbYescurrent memory in gigabytes.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
next_stepYes
do_savingsYes
needed_vcpuYes
output_tierYes
monthly_costYes
signal_valueYes
next_step_urlYes
why_follow_upYes
annual_savingsYes
instance_countYes
interpretationYes
savings_factorYes
needed_memory_gbYes
affiliate_contextNo
computation_basisYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / current_memory_gb / exclusiveMinimum
      Added value: +0
    • removedInput schema / properties / current_memory_gb / minimum
      Removed value: -0
    • addedInput schema / properties / current_vcpu / exclusiveMinimum
      Added value: +0
    • removedInput schema / properties / current_vcpu / minimum
      Removed value: -0
  2. Changed12 schema fields changed
    • addedInput schema / properties / current_memory_gb / description
      Added value: +"current memory in gigabytes."
    • addedInput schema / properties / current_memory_gb / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / current_vcpu / description
      Added value: +"current vcpu used by this deterministic tool."
    • addedInput schema / properties / current_vcpu / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / hourly_cost / description
      Added value: +"hourly cost used by the calculation; monetary values are in USD unless stated otherwise."
    • addedInput schema / properties / hourly_cost / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / instance_count / description
      Added value: +"instance count used by this deterministic tool."
    • addedInput schema / properties / instance_count / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / p99_cpu_pct / description
      Added value: +"p99 cpu expressed as a percentage."
    • addedInput schema / properties / p99_cpu_pct / examples
      Added value: +[
      +  1
      +]
    • addedInput schema / properties / p99_memory_pct / description
      Added value: +"p99 memory expressed as a percentage."
    • addedInput schema / properties / p99_memory_pct / examples
      Added value: +[
      +  1
      +]
  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_savings": {
      +      "type": "number"
      +    },
      +    "computation_basis": {
      +      "type": "string"
      +    },
      +    "do_savings": {
      +      "type": "number"
      +    },
      +    "instance_count": {
      +      "type": "number"
      +    },
      +    "interpretation": {
      +      "type": "string"
      +    },
      +    "monthly_cost": {
      +      "type": "number"
      +    },
      +    "needed_memory_gb": {
      +      "type": "number"
      +    },
      +    "needed_vcpu": {
      +      "type": "number"
      +    },
      +    "next_step": {
      +      "type": "string"
      +    },
      +    "next_step_url": {
      +      "type": "string"
      +    },
      +    "output_tier": {
      +      "type": "string"
      +    },
      +    "savings_factor": {
      +      "type": "number"
      +    },
      +    "signal_value": {
      +      "type": "number"
      +    },
      +    "why_follow_up": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "annual_savings",
      +    "computation_basis",
      +    "do_savings",
      +    "instance_count",
      +    "interpretation",
      +    "monthly_cost",
      +    "needed_memory_gb",
      +    "needed_vcpu",
      +    "next_step",
      +    "next_step_url",
      +    "output_tier",
      +    "savings_factor",
      +    "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