Skip to main content
Glama
Cashfloow

Cashfloow

by johanschnor

Salgsprognose

salgsprognose
Read-only

Forecast monthly invoiced sales for the next 1-12 months, compare candidate models with rolling backtests, and return a selected projection with intervals and error metrics.

Instructions

Prognose for det fakturerede salg måned for måned (standard 6 måneder) med 80 %- og 95 %-intervaller. Flere modeller (naiv, sæsonnaiv, gennemsnit, Holt, Holt-Winters) testes mod hinanden i en backtest med rullende oprindelse, og den mest præcise vælges. Returnerer fejlmål for hver model (WAPE, MAPE, MAE, RMSE, bias, MASE). Brug til "hvad sælger vi de næste måneder?", "hvor præcis er prognosen?" og "forecast error".

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": "salgsprognose"
  }
}

Input Schema

NameRequiredDescriptionDefault
kildeNo"eksempel" = opdigtet demovirksomhed med 36 måneders data. "e-conomic" = live regnskabsdata (egne nøgler, ellers e-conomics demokonto med meget lidt data).eksempel
månederNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description adds real behavior beyond them: multiple candidate models are backtested with rolling origin and the most accurate is selected, and per-model error metrics are returned. It does not mention how much history is required, runtime cost, or whether results are cached, which for a model-fitting operation would be useful.

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?

Three tight sentences: what is produced, how the model is chosen, what is returned, then usage examples. The most important information (forecast of invoiced sales, with intervals) is front-loaded and no sentence is filler, though the restatement of the 6-month default slightly duplicates the schema default.

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?

With no output schema, the description carries the burden of describing return values and does so by listing WAPE, MAPE, MAE, RMSE, bias and MASE plus the 80%/95% intervals. It leaves the response shape (one row per month versus a metrics block) and the minimum data requirement unspecified, which is a modest gap for a forecasting tool.

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 coverage is 50%: 'kilde' is documented in the schema, 'måneder' is not. The description restates the default horizon of 6 months, which partly compensates, but adds nothing about the 1-12 bounds, about extending the horizon, or about the accuracy implications of choosing the sparse e-conomic demo data.

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?

States a specific verb+resource: a forecast of invoiced sales per month, including the model-selection procedure and the returned error metrics. It is clear it is a forecasting tool rather than a historical report, but it never names or differentiates itself from the sibling 'likviditetsprognose', leaving the boundary between sales and cash-flow forecasting implicit.

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?

Explicitly gives the questions this tool answers ("hvad sælger vi de næste måneder?", "hvor præcis er prognosen?", "forecast error"), which is strong positive routing. It offers no when-not guidance and does not point to any alternative tool, so an agent cannot see from the text why to prefer this over e.g. afvigelser or likviditetsprognose.

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