Skip to main content
Glama
mcp-aws-finops

mcp-aws-finops

by thomm-011

forecast_month_end

Forecast total AWS cost for a month using a linear daily run-rate from data already collected. Use it to estimate month-end spend before the billing period closes.

Instructions

Forecast the total AWS cost for a calendar month using a run-rate.

    Args:
        month: Target month as "YYYY-MM", e.g. "2025-09".

    Method: linear run-rate. Computes the average daily cost over the
    days of the month already covered by data, then multiplies by the
    number of days in the month. This is intentionally simple (no
    seasonality or trend) — documented so callers know its limits.
    

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "month": "<month>"
    },
    "name": "forecast_month_end"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthYes

Output Schema

NameRequiredDescriptionDefault
monthYesTarget month, format YYYY-MM
methodYesForecasting method used, documented for transparency to the caller
currencyYes
cost_to_dateYes
days_elapsedYes
days_in_monthYes
daily_run_rateYes
forecast_totalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work here: it discloses the exact computation (average daily cost over days with data, multiplied by days in month) and honestly flags its limits (no seasonality or trend). The remaining gap is undefined behavior when little or no data exists for the month, which matters for a forecast tool.

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?

Front-loaded with the purpose, then the parameter format, then the method and its caveats — a sensible order. The docstring-style 'Args:' block is slightly mechanical but every sentence earns its place; the method-limits note is genuinely useful rather than filler.

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?

An output schema exists, so return values need no explanation, and the single parameter is fully specified. Combined with the stated method and limitations, an agent has nearly everything needed; only cross-tool routing guidance and zero-data behavior are missing.

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

Parameters5/5

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

Schema coverage is 0% — the schema only says 'Month' as a string — but the description supplies both the required format ('YYYY-MM') and a concrete example ('2025-09'). That fully compensates for the bare schema and prevents the most likely invocation error.

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 opens with a specific verb and resource ('Forecast the total AWS cost for a calendar month') and names the technique (run-rate), which distinguishes it from actuals-reporting siblings like get_cost_summary or compare_periods. It stops short of explicitly naming an alternative, but the verb alone is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: forecasting a month that is not yet complete. There is no explicit statement of when to prefer this over get_cost_summary or compare_periods, and no guidance on preconditions (e.g. how much data must exist before the forecast is meaningful).

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