Skip to main content
Glama
mihirkadam19

Cloud FinOps Analyst MCP Server

by mihirkadam19

detect_gcp_cost_anomalies

Detect daily GCP cost spikes by comparing spend against period average, with per-service breakdown for anomaly days.

Instructions

Detects daily GCP cost spikes by comparing each day's spend against the period average, with a per-service breakdown for anomaly days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lookback_daysNoNumber of days of cost history to analyze
min_spike_percentageNoMinimum % above average daily cost to flag as an anomaly
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the algorithm (comparing to period average) and output breakdown (per-service), which is useful. However, it does not mention whether any permissions are required, if the operation is read-only, or any side effects. Since it is an analysis tool, the description provides moderate transparency.

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, well-structured sentence that immediately conveys the core purpose and method. It is front-loaded with the action ('Detects daily GCP cost spikes') and includes relevant detail without any fluff.

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?

The description explains the tool's function and gives a hint about the output structure (per-service breakdown for anomaly days), but lacks usage context, alternatives, or clarity on what the returned data looks like. For a simple analysis tool with no output schema, this is adequate but incomplete.

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?

The input schema has 100% coverage with descriptions for both parameters. The description does not add additional parameter-specific details beyond what is already in the schema, but also does not conflict. With full schema coverage, a baseline of 3 is appropriate.

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 states a specific verb ('detects'), a clear resource ('GCP cost spikes'), and the methodology ('comparing each day's spend against the period average'). It also distinguishes from siblings by explicitly specifying GCP and daily spikes, setting it apart from generic or Azure anomaly detection tools.

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?

No guidance is provided on when to use this tool versus alternatives like 'detect_cost_anomalies' or 'detect_azure_cost_anomalies'. The description implies a GCP context but does not state exclusions or recommend this tool for specific scenarios.

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/mihirkadam19/finops-mcp-server'

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