Skip to main content
Glama
msftnadavbh

Azure Pricing MCP Server

by msftnadavbh

spot_price_history

Retrieve historical Spot VM pricing data for Azure virtual machines to analyze cost trends and optimize resource allocation.

Instructions

Get Spot VM price history for a specific SKU and region. Requires Azure authentication (az login or environment variables). Returns up to 90 days of historical Spot pricing data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuYesVM SKU name (e.g., 'Standard_D2s_v4')
locationYesAzure region (e.g., 'eastus')
os_typeNoOperating system type ('linux' or 'windows')linux
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes authentication requirements ('Requires Azure authentication'), data scope ('Returns up to 90 days'), and the specific data type ('Spot pricing data'). It doesn't mention rate limits, error conditions, or response format details, but covers the essential operational context well.

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?

The description is perfectly concise with three tightly-packed sentences that each serve a distinct purpose: stating the tool's function, specifying authentication requirements, and defining the data scope. Every word earns its place with zero redundancy or unnecessary elaboration.

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 read-only data retrieval tool with 3 parameters and 100% schema coverage but no output schema, the description provides good context about authentication, data type, and temporal scope. It could be more complete by describing the response format or data structure, but covers the essential operational context adequately given the tool's complexity.

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?

The schema description coverage is 100%, with all parameters well-documented in the schema. The description adds minimal value beyond the schema by mentioning that parameters are for 'a specific SKU and region' and implying 'os_type' through context, but doesn't provide additional semantic context or usage examples beyond what's already in the structured schema.

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?

The description clearly states the specific action ('Get Spot VM price history'), resource ('for a specific SKU and region'), and scope ('up to 90 days of historical Spot pricing data'). It distinguishes from siblings like 'azure_price_search' or 'azure_price_compare' by focusing specifically on historical Spot pricing data rather than current pricing or comparisons.

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 description implies usage context by specifying 'Requires Azure authentication' and the data type ('Spot VM price history'), but doesn't explicitly state when to use this tool versus alternatives like 'azure_price_search' or 'spot_eviction_rates'. It provides authentication prerequisites but no comparative guidance on tool selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/msftnadavbh/AzurePricingMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server