Skip to main content
Glama
bigonil

Azure Cost Management MCP

by bigonil

Azure Advisor Cost Recommendations

azure_advisor_recommendations

Get Azure Advisor cost optimization recommendations: right-size underutilized VMs, delete idle resources, purchase reservations. Prioritize high-impact items for maximum savings.

Instructions

Retrieves Azure Advisor cost optimization recommendations for a subscription. Covers: right-sizing underutilized VMs, deleting idle resources (unattached disks, unused IPs), purchasing reservations or savings plans for predictable workloads, and removing empty resource groups. WAF Cost Optimization: address High impact recommendations first for maximum savings. CAF FinOps: run across all landing zone subscriptions to enforce cost governance. Note: Advisor operates at subscription scope; management group scope is not supported.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoMaximum number of recommendations to return.
scopeYesSubscription scope: UUID, sub:{id}, or /subscriptions/{id}. Advisor requires subscription-level scope.
impactNoFilter by recommendation impact. High = largest potential savings. Start with High to maximize cost reduction effort.All
Behavior4/5

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

No annotations exist, so the description carries the burden. It discloses the scope restriction (subscription only, not management group) and what types of recommendations are covered (unattached disks, unused IPs, etc.). It implies read-only behavior with 'Retrieves,' but does not disclose rate limits, authentication, or return format. Still, the scope and coverage details are valuable behavioral context.

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?

Three sentences, each earning its place: purpose, coverage scope, and usage/scope caveat. The description is front-loaded with the primary action and resource, and wastes no words. Structure is clear and scannable.

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 the tool's moderate complexity and lack of output schema, the description sufficiently covers what it does, when to use it (WAF/FinOps), and scope limitations. It stops short of describing pagination or response structure, but for a retrieval tool this is acceptable and covered by the parameter schema for top/limit.

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

Parameters4/5

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

Schema coverage is 100% with descriptions for all three parameters, so the baseline is 3. The description adds meaningful context beyond the schema: it explains which recommendations are included (right-sizing, idle resources) and explicitly advises starting with High impact for maximum savings, reinforcing the impact parameter. This adds practical meaning to the parameter choices.

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 verb 'Retrieves' and the resource 'Azure Advisor cost optimization recommendations for a subscription.' It distinguishes from sibling tools like cost queries or forecasts by focusing specifically on Advisor recommendations and even lists example categories (right-sizing VMs, deleting idle resources).

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?

Provides explicit guidance: 'WAF Cost Optimization: address High impact recommendations first' and 'CAF FinOps: run across all landing zone subscriptions.' It also sets a hard constraint by noting 'Advisor operates at subscription scope; management group scope is not supported.' However, it does not explicitly compare to alternatives like azure_cost_query or azure_cost_forecast, though the context makes the intended use clear.

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/bigonil/azure-cost-management-mcp'

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