Skip to main content
Glama
Cashfloow

Cashfloow

by johanschnor

Lageroverblik

lageroverblik
Read-only

Analyze inventory value, turnover, ABC and demand patterns to spot reorder needs, stockout risk, dead stock and excess capital tied up in stock.

Instructions

Overblik over lageret ud fra varer, beholdning og fakturalinjer: lagerværdi, lagerdage og omsætningshastighed, ABC-analyse (hvilke varer bærer omsætningen), efterspørgselsmønstre (jævn, svingende, sporadisk, klumpet), hvor mange varer der bør bestilles nu, risiko for udsolgt, død beholdning og overlager (bundet kapital), og hvor præcise prognoserne og sikkerhedslagrene har været i en backtest. Brug til "hvordan står det til med lageret?", "binder vi for mange penge på lager?" og "hvilke varer sælger?".

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

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
leveringstid_dageNoLeveringstid fra leverandør i dage, for alle varer. Udelades: leverandørens leveringstid pr. vare, hvis den kendes, ellers 14 dage.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.9/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, so the safety profile is covered. The description adds real context beyond that: it discloses that results are derived analytics including a backtest of forecast and safety-stock accuracy, which tells the agent the numbers are model-evaluated rather than raw ledger figures. It does not mention data freshness or compute cost for what is clearly a heavy aggregate.

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?

The purpose is front-loaded ('Overblik over lageret ud fra ...') and followed by the metric inventory and then usage questions in a logical order. The metric list is long and comma-chained, but each item is a distinct deliverable 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?

There is no output schema, so the description must convey what comes back, and the metric enumeration does that thoroughly for an analytics tool. What is missing is any sense of output shape, units, or granularity (per-item vs aggregate), which an agent would want before deciding how to present results.

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 (kilde, leveringstid_dage) carry their own enum/default/fallback documentation, so the schema does the heavy lifting. The description adds no parameter-level meaning and never mentions the demo-vs-live data source distinction, which materially affects result trustworthiness. 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 names a specific resource (lageret) and enumerates concrete outputs: lagerværdi, lagerdage, omsætningshastighed, ABC-analyse, efterspørgselsmønstre, udsolgt-risiko, død beholdning, backtest af prognoser. That is far more specific than a restated title. It stops short of 5 because it does not distinguish itself from the sibling genbestilling, even though it explicitly reports 'hvor mange varer der bør bestilles nu'.

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?

Three concrete trigger questions ('hvordan står det til med lageret?', 'binder vi for mange penge på lager?', 'hvilke varer sælger?') give the agent a clear when-to-use signal. There are no explicit exclusions or named alternatives, and the overlap with genbestilling on reorder quantities is left unresolved.

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