Skip to main content
Glama
Cashfloow

Cashfloow

by johanschnor

Vare

vare
Read-only

Look up a product by item number or name to review weekly sales, demand patterns, ABC class, stock levels, reorder points, order sizes, and forecast errors.

Instructions

Alt om én vare: salg uge for uge (seneste 26 uger), efterspørgselsmønster, ABC-klasse, beholdning, sikkerhedslager, genbestillingspunkt, ordrestørrelse og de tre prognosemodellers fejl i backtesten. Søg på varenummer eller en del af navnet.

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": {
      "navn": "<navn>"
    },
    "name": "vare"
  }
}

Input Schema

NameRequiredDescriptionDefault
navnYesVarenummer eller en del af varenavnet
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
servicegradNoØnsket sandsynlighed for ikke at løbe tør i en leveringsperiode, fx 0.95. Udelades: A-varer 0.97, B 0.95, C 0.90.
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.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-data sourcing are covered. The description adds the data window (last 26 weeks) and the partial-name matching behavior, but says nothing about what happens on no match, data freshness for the live "e-conomic" source, or response shape beyond the metric list.

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?

Two sentences, front-loaded with the value proposition and backed by a dense but purposeful metric list that compensates for the absent output schema. The closing sentence about searching partly duplicates schema text, a small redundancy.

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 returns and does so thoroughly via the metric enumeration, including the notable detail that three forecast models are backtested. Minor gaps remain: no mention of units, granularity, or behavior when the search matches nothing.

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 100% and the schema already documents defaults for servicegrad (per ABC class) and leveringstid_dage (supplier lead time, else 14 days) plus the kilde enum. The description only restates the navn search semantics from the schema, adding no new meaning; baseline 3 applies.

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 names a precise resource scope ("Alt om én vare" – a single item) and enumerates exactly what comes back: 26 weeks of sales, demand pattern, ABC class, stock, safety stock, reorder point, order size, and backtest error for three forecast models. This single-item deep-dive profile is clearly distinguishable from the portfolio-level siblings such as lageroverblik and salgsprognose.

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?

The wording implies the use case (a per-item deep dive, searched by item number or partial name) but never states when to prefer it over aggregate tools like lageroverblik, genbestilling, or salgsprognose, nor any prerequisites or exclusions. Usage must be inferred from the content list.

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