Skip to main content
Glama
azure-pricing-mcp

azure-pricing-mcp

by amritsc

Compare regions

compare_regions
Read-onlyIdempotent

Compare pay-as-you-go hourly and monthly prices for one Azure VM size across regions, ordered by cost, to find lower-cost deployment locations.

Instructions

Pay-as-you-go hourly and monthly price of one VM size across regions, cheapest first.

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": {
      "arm_sku_name": "<arm_sku_name>",
      "regions": "<regions>"
    },
    "name": "compare_regions"
  }
}

Input Schema

NameRequiredDescriptionDefault
osNolinux
regionsYes
currencyNoUSD
arm_sku_nameYesExact ARM SKU name, e.g. 'Standard_D2s_v5'. Use list_skus to discover names.

Output Schema

NameRequiredDescriptionDefault
osYes
resultsYesCheapest first
currencyYes
unavailableYesRegions with no pay-as-you-go price for this SKU
arm_sku_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint and idempotentHint, so the safety profile is covered. The description still adds genuinely useful behavior beyond them: pricing scope is limited to pay-as-you-go (excluding reserved/spot), both hourly and monthly figures are returned, and results are sorted cheapest first. It stops short of noting currency handling or behavior when a SKU is unavailable in a region.

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

Conciseness5/5

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

A single dense sentence with the resource, pricing model, dimensions and sort order front-loaded; no filler and nothing redundant.

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

Completeness3/5

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

An output schema exists, so return-value explanation is unnecessary, and annotations cover safety. Still, for a pricing tool whose result depends heavily on os and currency, leaving both undocumented in the description and only 25% of parameters described in the schema leaves a real gap for correct invocation.

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

Parameters2/5

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

Schema description coverage is only 25%, so the description needs to carry more weight, but it only gestures at arm_sku_name ('one VM size') and regions ('across regions'). The os parameter (linux vs windows materially changes price) and the currency parameter are not mentioned at all in the description.

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

Purpose4/5

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

The description names a specific operation on a specific resource: hourly and monthly pay-as-you-go price for one VM size across a set of regions, returned cheapest first. That is far more informative than the title 'Compare regions', and the 'one VM size across regions' framing implicitly separates it from list_skus and estimate_monthly_cost, though it never names an alternative.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no mention of the sibling tools (estimate_monthly_cost, search_prices). An agent must infer that this is the multi-region price-comparison entry point rather than the single-estimate one.

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