Skip to main content
Glama

Compare Azure and AWS

compare_azure_aws
Read-onlyIdempotent

Azure vs AWS for one VM requirement: the cheapest Azure VM size and the cheapest AWS EC2 instance type with at least the given vCPUs and memory in a pair of nearby regions, monthly USD list prices side by side (pay as you go / On-Demand and 3-year reserved), which cloud is cheaper and by how much. Intel/AMD only unless include_arm is true.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "vcpus": "<vcpus>",
      "memory_gib": "<memory_gib>"
    },
    "name": "compare_azure_aws"
  }
}

Input Schema

NameRequiredDescriptionDefault
osNoOperating system for pay-as-you-go prices. Default linux.
vcpusYesMinimum vCPUs.
regionNoAWS region code, its paired Azure region or the city. Default us-east-1 (Azure eastus). Pairs: us-east-1 = eastus (US East (N. Virginia)); us-east-2 = centralus (US Central (Ohio / Iowa)); us-west-1 = westus3 (US West (N. California / Arizona)); us-west-2 = westus2 (US West (Oregon / Washington)); ca-central-1 = canadacentral (Canada); sa-east-1 = brazilsouth (Brazil (São Paulo)); eu-west-1 = northeurope (Ireland); eu-west-2 = uksouth (London); eu-west-3 = francecentral (Paris); eu-central-1 = germanywestcentral (Frankfurt); eu-central-2 = switzerlandnorth (Zurich); eu-north-1 = swedencentral (Sweden); eu-south-1 = italynorth (Milan); ap-south-1 = centralindia (India); ap-southeast-1 = southeastasia (Singapore); ap-southeast-2 = australiaeast (Sydney); ap-northeast-1 = japaneast (Tokyo); ap-northeast-2 = koreacentral (Seoul); ap-east-1 = eastasia (Hong Kong); me-central-1 = uaenorth (UAE).
memory_gibYesMinimum memory in GiB.
include_armNoAlso consider Arm sizes (AWS Graviton, Azure Cobalt/Ampere). Default false.

Output Schema

NameRequiredDescriptionDefault
awsNo
pageNo
azureNo
cheaperNo
verdictYes
dataSourceYespricesAsOf (ISO date), currency, source, dataset, stale (true if the weekly refresh is late).
savingMonthlyNo
savingPercentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare read-only, idempotent, non-destructive, and closed-world behavior, so safety is covered. The description adds real behavioral context beyond that: prices are monthly USD list prices in pay-as-you-go/On-Demand and 3-year reserved terms, results identify the cheaper cloud and the delta, and Arm families are excluded unless include_arm is true.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense sentence with the core comparison and price basis front-loaded, followed by the architecture caveat. It is efficient with no filler, though the run-on structure makes the region-pairing and output-verdict elements easy to skim past.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema and rich annotations present, the description only needs to cover scope and pricing terms, which it does. The one gap is that OS-dependent pricing behavior is left entirely to the schema, but nothing an agent needs in order to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the region pairing table, OS default, and Arm flag are all fully documented in the schema, so the baseline is 3. The description does reinforce the key semantic that vCPUs and memory are minimums (not exact sizes) and that region selects a paired AWS/Azure region, but adds no new format or constraint detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Azure vs AWS for one VM requirement') plus the exact output: cheapest VM in each cloud meeting the vCPU/memory floor, priced side by side, with a verdict on which is cheaper. This clearly distinguishes it from find_vm_sizes, get_vm_size, and estimate_vm_cost, which operate on a single cloud or a single size.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'for one VM requirement' framing makes the intended scenario clear: a cross-cloud decision for a single workload shape. It stops short of naming alternatives or stating when not to use it (e.g., when you want a full size catalog or a multi-workload estimate), so some routing is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.