Skip to main content
Glama
cloudprice-mcp

cloudprice-mcp

get_azure_price

Look up on-demand Linux hourly and monthly prices for an Azure VM size in East US, including vCPUs, memory, and USD costs.

Instructions

Look up the on-demand Linux hourly + monthly price for an Azure VM size in eastus. Returns vCPUs, memory, hourly USD, and monthly USD.

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": {
      "vm_size": "<vm_size>"
    },
    "name": "get_azure_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
vm_sizeYesAzure VM size, e.g. 'D4s_v5'. Available: B1s, B2ms, B2s, B4ms, D16s_v5, D2s_v5, D4s_v5, D8s_v5, E2s_v5, E4s_v5, E8s_v5, F2s_v2, F4s_v2, F8s_v2, NC24ads_A100_v4, NC40ads_H100_v5, NC4as_T4_v3, ND96asr_v4, ND96isr_H100_v5, NV6ads_A10_v5

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.0
    • changedInput schema / properties / vm_size / description
      Previous value: -"Azure VM size, e.g. 'D4s_v5'. Available: B1s, B2ms, B2s, B4ms, D16s_v5, D2s_v5, D4s_v5, D8s_v5, E2s_v5, E4s_v5, E8s_v5, F2s_v2, F4s_v2, F8s_v2"New value: +"Azure VM size, e.g. 'D4s_v5'. Available: B1s, B2ms, B2s, B4ms, D16s_v5, D2s_v5, D4s_v5, D8s_v5, E2s_v5, E4s_v5, E8s_v5, F2s_v2, F4s_v2, F8s_v2, NC24ads_A100_v4, NC40ads_H100_v5, NC4as_T4_v3, ND96asr_v4, ND96isr_H100_v5, NV6ads_A10_v5"
  2. First observedv0.2.2

TDQS

A4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the hard behavioral constraints an agent needs: results are limited to one region (eastus), one OS (Linux), and one pricing model (on-demand). It also enumerates the return fields. It stops short of stating data freshness/refresh cadence or what happens for a VM size not sold in eastus.

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?

Two sentences, zero filler. The what-and-scope sentence comes first and the return-shape sentence second, which is the right front-loading order.

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?

For a single-parameter, no-output-schema lookup tool, the description covers purpose, constraints, and the returned fields, which is enough to call it correctly. Minor gap: no mention of error behavior for unsupported sizes or of regions other than eastus, which an agent would otherwise have to discover by failure.

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 single vm_size parameter is already documented with an example and a full list of valid sizes. The description only restates 'Azure VM size' and adds the implicit eastus availability constraint, so it adds little beyond the schema — the baseline 3 is appropriate.

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?

Specific verb ('Look up') plus resource ('on-demand Linux hourly + monthly price for an Azure VM size') with explicit scope: provider Azure, OS Linux, pricing tier on-demand, region eastus. This clearly separates it from get_aws_price and get_gcp_price, which share the same shape but a different provider.

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

Usage Guidelines3/5

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

The scoping phrases (on-demand, Linux, eastus) imply when the tool applies, but there is no explicit routing to alternatives such as compare_spot for spot pricing, get_price_history for historical prices, or the AWS/GCP equivalents. Usage is inferable but never stated as 'use X instead when...'.

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