Skip to main content
Glama
Cashfloow

Cashfloow

by johanschnor

Fragtstatistik

fragt_statistik
Read-only

Run statistical tests on freight data to check carrier differences, delay effects on returns and ratings, and weekly delivery precision control charts.

Instructions

Statistiske tests på fragtdata: er forskellen mellem fragtfirmaerne reel (95 %-intervaller, chi²-test, parvise tests mod det bedste firma), hvor meget forsinkelser øger returneringer justeret for produktkategori (logistisk regression med odds ratio), om forsinkede pakker får færre stjerner (Welch t-test), og kontrolkort over ugentlig leveringspræcision, der viser, hvornår et fragtfirma er blevet usædvanligt dårligt. Brug til "er forskellen signifikant?", "kan det være tilfældigt?" og "er PostNord blevet dårligere?".

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

Input Schema

NameRequiredDescriptionDefault

No arguments

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, so the safety profile is covered. The description adds substantive behavioral context beyond that: it names the statistical methods used (95% intervals, chi², pairwise tests against the best firm, logistic regression, Welch t-test) and what the control charts reveal. It does not describe the shape of the returned results, which matters since there is no output schema.

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?

Purpose is front-loaded in the first clause, followed by a compact enumeration of analyses and a usage sentence. Every clause carries information, though the long method list makes it dense; it is still readable and free of 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?

With no parameters and no output schema, the description must carry the explanatory burden, and it does so by spelling out each statistical output type (intervals, odds ratios, control-chart signals). What is missing is any indication of result structure or granularity (tables vs. narrative), which an agent would need to interpret the response.

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 tool takes zero parameters, so the schema imposes no semantic burden and the baseline of 4 applies. The description correctly implies no input arguments are needed, letting the agent invoke it directly.

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 opens with a specific verb+resource ('Statistiske tests på fragtdata') and enumerates the concrete analyses performed: chi²-tests, pairwise comparisons, logistic regression with odds ratios, Welch t-test, and control charts for weekly delivery precision. An agent knows exactly what this tool computes. It does not, however, explicitly disambiguate itself from siblings such as 'forsinkelsens_effekt' or 'sammenlign_fragtfirmaer', whose subject matter overlaps with two of the listed analyses.

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 final sentence gives concrete trigger questions ('er forskellen signifikant?', 'kan det være tilfældigt?', 'er PostNord blevet dårligere?'), which is clear context for when to pick this tool. There is no explicit when-not guidance and no named alternative for the overlapping pairwise/effect analyses, so it stops short of a 5.

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