Skip to main content
Glama
alexpota

cloudscope-mcp

Detect Cost Anomalies

detect_anomalies

Identify Azure spending spikes by comparing recent costs to previous periods. Set custom day ranges and percentage thresholds to catch unexpected cloud billing anomalies early.

Instructions

Find spending spikes by comparing the last N days to the N days before that

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
providerYesCloud provider to query
daysNoNumber of days to compare (default: 7)
thresholdNoMinimum percentage increase to flag (default: 20)
Behavior2/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. While it explains the comparison algorithm, it fails to indicate whether this is a safe read-only operation, what data structure is returned, or whether the detection triggers any side effects like notifications.

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 single-sentence description is appropriately concise and front-loaded with the action verb 'Find'. Every word serves a purpose in explaining the core mechanism, though it could be slightly more specific by including 'cost' explicitly.

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

Completeness3/5

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

Given the simple parameter structure (3 primitives, 100% schema coverage) and lack of output schema, the description provides the minimum viable context for the comparison logic. However, it should ideally hint at the return value format (e.g., list of flagged anomalies) to compensate for the missing output schema.

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?

With 100% schema description coverage, the schema adequately documents all three parameters. The description adds marginal value by illustrating how the 'days' parameter is used in the comparative windows (last N vs previous N), but does not significantly expand on parameter semantics beyond what the schema already provides.

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 the tool finds 'spending spikes' using a specific comparison methodology (last N days vs previous N days). It effectively conveys the anomaly detection purpose, though it could explicitly mention 'cost' to reinforce the title, and doesn't explicitly differentiate from the sibling 'compare_periods' tool.

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 provides no guidance on when to use this tool versus alternatives like 'compare_periods' or 'check_budgets'. It lacks prerequisites (e.g., whether historical data must exist) and exclusions (e.g., when anomalies cannot be detected).

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