Skip to main content
Glama
MO2k4

azure-cost-mcp

by MO2k4

azure_query_costs_by_resource

Find which Azure resources cost the most by retrieving top-N spend with percentage of total, using actual subscription cost data for a selected timeframe.

Instructions

Show top-N Azure resources by spend with % of total. Requires Cost Management credentials.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNNo
endDateNo
startDateNo
timeframeNoMonthToDate
resourceGroupNo
response_formatNomarkdown

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It does add the credential requirement and indicates the output shape (top-N spend with percentage of total). However, it does not disclose read-only behavior, default time range handling, behavior on auth failure, or how results are ordered when ties occur.

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

Conciseness4/5

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

The description is two concise sentences with no filler, and the main action is front-loaded. However, given six undocumented parameters and no annotations, the brevity results in under-specification rather than efficient coverage, so it is not a perfect 5.

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

Completeness2/5

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

With no annotations, no output schema, and six parameters, the description is markedly incomplete for safe invocation. It omits date/timeframe semantics, resourceGroup filtering, response_format options, and error behavior. The credential note is helpful, but an agent would need to inspect parameter names and enums to call this correctly.

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 0%, so the description must compensate, but it only clarifies the 'top-N' concept. It does not explain startDate, endDate, timeframe, resourceGroup, or response_format. Parameter names and enum defaults in the schema do some self-documenting work, but the description adds minimal semantic value beyond the topN parameter.

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 clearly states a specific verb and resource: 'Show top-N Azure resources by spend with % of total.' This conveys the tool's core function and differentiates it from the general azure_query_costs sibling by the 'by resource' and top-N scope, though it does not explicitly name any sibling.

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?

The only usage-related information is 'Requires Cost Management credentials,' which is a prerequisite rather than guidance on when to choose this tool over alternatives. There is no mention of when to use this instead of azure_query_costs, azure_get_cost_forecast, or other sibling tools.

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

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

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