Skip to main content
Glama
alexpota

cloudscope-mcp

Compare Cost Periods

compare_periods

Compare Azure costs between two periods to analyze spending changes with absolute and percentage differences by service or resource group.

Instructions

Compare costs between two date ranges, showing per-service absolute and percentage changes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
providerYesCloud provider to query
period_a_startYesPeriod A start date (YYYY-MM-DD)
period_a_endYesPeriod A end date (YYYY-MM-DD)
period_b_startYesPeriod B start date (YYYY-MM-DD)
period_b_endYesPeriod B end date (YYYY-MM-DD)
group_byNoHow to group costs: service or resource_groupservice
Behavior3/5

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

With no annotations provided, the description carries the full burden. It successfully discloses output behavior ('per-service absolute and percentage changes'), indicating what calculations are performed. However, it lacks operational details such as whether the operation is read-only, rate limits, or error handling behavior.

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 a single, efficient sentence of 12 words. It is front-loaded with the core action ('Compare costs') and every clause contributes essential information about functionality, output format, and scope with zero redundancy.

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 absence of an output schema, the description appropriately compensates by specifying the return value structure ('per-service absolute and percentage changes'). For a 6-parameter tool with 100% schema coverage, this provides sufficient context for invocation, though operational metadata would enhance it further.

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 100%, establishing a baseline of 3. The description adds context that the two date ranges are being compared against each other, reinforcing the semantics of period_a_* and period_b_* parameters, but does not elaborate on syntax or enum meanings beyond the 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 uses a specific verb ('Compare') with clear resource ('costs') and scope ('between two date ranges'). It distinguishes from siblings like get_cost_summary (single period) or get_cost_forecast (future-looking) by emphasizing the two-period comparison and per-service breakdown.

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 description states what the tool does but provides no explicit guidance on when to use it versus alternatives like get_cost_summary or detect_anomalies. There are no 'when-not' exclusions or prerequisites mentioned.

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/alexpota/cloudscope-mcp'

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