Skip to main content
Glama

forecast_costs

Forecast future Databricks costs from historical usage patterns using simple linear regression, with configurable forecast and historical day ranges.

Instructions

Forecast future costs based on historical usage patterns using simple linear regression.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "forecast_costs"
  }
}

Input Schema

NameRequiredDescriptionDefault
forecast_daysNoNumber of days to forecast into the future (default: 30)
historical_daysNoNumber of historical days to analyze (default: 30)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real behavioral context by naming the model ('simple linear regression'), which warns the agent to expect a naive linear extrapolation with no seasonality or confidence intervals. It says nothing about permissions, error conditions, or output shape, which is a notable gap for an unannotated tool.

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?

A single front-loaded sentence naming the action, the basis, and the method, with zero filler or repetition. Nothing could be removed without losing information.

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 tool is simple (two optional numeric params, no nesting), but with no annotations and no output schema, the description should say more about what comes back (e.g. projected cost values per day) and whether results are read-only or cached. Purpose and method are covered; the return shape and limitations are not.

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%, and both parameters already document their meaning and defaults in the schema. The description adds no further semantics such as valid ranges, interactions between forecast_days and historical_days, or how small history windows affect accuracy, so baseline 3 applies.

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 states a specific verb and resource ('Forecast future costs') plus the method ('simple linear regression') and the input basis ('historical usage patterns'). An agent can tell what it computes, but nothing distinguishes it from siblings such as analyze_spending_trends.

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?

It implies the tool is for projecting costs forward, but gives no explicit when-to-use guidance, no exclusions, and never mentions the plausible alternative analyze_spending_trends for past-trend analysis. The agent must infer the selection rule itself.

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