Skip to main content
Glama
chaandannn

nable (finops-mcp)

forecast_llm_costs

Forecast AI token spend and determine when your credit balance will deplete. See projected 30-day costs and month-over-month growth trends.

Instructions

Forecast AI/LLM token spend and, if you give a balance, the date your credits or commitment run out. Uses nable's per-account forecaster (Holt-Winters with linear and naive fallbacks by history length) on your daily token-cost series.

Headline outputs: projected next-30-day spend, implied month-over-month growth, and the runway-to-exhaustion date. That exhaustion date is what finance wants and what no provider dashboard gives.

Args: horizon_days: How far forward to project (default 90). balance_usd: Remaining credit/commitment balance to burn down (optional).

Examples: - "Forecast our AI spend for the next quarter" - "When will our $100k in credits run out at this rate?" - "Is our token bill accelerating?"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
balance_usdNo
horizon_daysNo
Behavior3/5

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

The description discloses the internal algorithm (Holt-Winters with fallbacks) and the data source (daily token-cost series). However, it does not state whether the tool is read-only, requires permissions, or has side effects. No annotations are provided, so the description carries full burden but remains incomplete.

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 well-structured with a purpose paragraph, algorithm details, args section, and examples. It is front-loaded with key information and contains no extraneous content.

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?

The description covers the tool's purpose, inputs, outputs, and algorithm, which is comprehensive for a forecasting tool. It lacks information about error conditions, data availability requirements, or output format, but still provides adequate context given no output schema.

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

Parameters4/5

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

The description explains both parameters (horizon_days and balance_usd) with defaults and examples, compensating for the 0% schema description coverage. It adds meaning beyond the basic schema by clarifying their roles in the forecast.

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 clearly states the tool forecasts AI/LLM token spend and can calculate exhaustion date for credits. It explains headline outputs (next-30-day spend, growth, runway) and differentiates from sibling tools like forecast_costs by focusing on LLM-specific metrics.

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

Usage Guidelines4/5

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

The description provides three concrete examples that illustrate typical use cases. It implies usage for forecasting rather than current spend, but does not explicitly contrast with siblings like get_llm_costs or specify when not to use.

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/chaandannn/finopsmcp'

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