Skip to main content
Glama
rcarmo

office-document-mcp-server

by rcarmo

azure_query_prices

Read-only

Retrieve Azure pricing data with flexible filters including service, region, SKU, product, price type, and currency. Uses cached data with automatic fetch.

Instructions

Query cached Azure pricing data with flexible filters.

Searches the in-memory price cache for matching items. If data is not cached, it will be fetched automatically.

Example: # Get VM pricing azure_query_prices( service="Virtual Machines", region="westeurope", sku_contains="D4" )

# Get Databricks DBU pricing
azure_query_prices(
    service="Azure Databricks",
    sku_contains="All-purpose"
)

# Get reserved instance pricing
azure_query_prices(
    service="Virtual Machines",
    sku_contains="D4",
    price_type="Reservation"
)

Args: service: Azure service name (required for initial query) region: ARM region name (default: "westeurope") sku_contains: Filter by SKU name containing this string product_contains: Filter by product name containing this string price_type: Price type filter: "Consumption", "Reservation", "DevTestConsumption", or None for all currency: Currency code (default: "USD") max_results: Maximum items to return (default: 50)

Returns: Dictionary with matching price items and summary

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serviceYesAzure service name (required for initial query)
regionNoARM region name (default: "westeurope")
sku_containsNoFilter by SKU name containing this string
product_containsNoFilter by product name containing this string
price_typeNoPrice type filter: "Consumption", "Reservation", "DevTestConsumption", or None for all
currencyNoCurrency code (default: "USD")
max_resultsNoMaximum items to return (default: 50)
pageNo
Behavior4/5

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

Annotations already indicate readOnlyHint=true and destructiveHint=false. The description adds valuable context beyond annotations: it explains the caching behavior ('If data is not cached, it will be fetched automatically') and the return format (dictionary with matching items and summary). No contradictions.

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 well-structured: a concise one-line purpose, then brief caching behavior, followed by clear examples, and a bulleted args list. Every sentence adds value, no fluff, and the most important information is front-loaded.

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?

Given 8 parameters, no output schema, and openWorldHint=true, the description adequately covers caching behavior, examples, return type, and parameter usage. It lacks explanation of the 'page' parameter and pagination, but overall it is sufficient for an agent to use the tool effectively.

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 description coverage is 88% (7 of 8 parameters have descriptions). The description repeats parameter details but adds examples that show usage patterns for service, sku_contains, and price_type. However, the 'page' parameter is not documented in the schema or description, so the description does not fully compensate for that gap.

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 tool 'Query cached Azure pricing data with flexible filters', specifying the verb 'query', the resource 'cached Azure pricing data', and the capability 'flexible filters'. It distinguishes itself from siblings like azure_fetch_prices and azure_calculate_cost by focusing on querying a cache.

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 description provides clear context on when to use the tool: for querying cached Azure pricing data with automatic fetching if not cached. Examples demonstrate various use cases (VM pricing, Databricks, reserved instances). However, it does not explicitly state when NOT to use it or name alternative tools, though the cache vs. fetch distinction is implied.

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/rcarmo/python-office-mcp-server'

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