Skip to main content
Glama
Cashfloow

Cashfloow

by johanschnor

Betalingstid pr. måned

betalingstid_pr_maaned
Read-only

Calculate average days customers paid after due date by month for the last 12 months; negative values show early payment.

Instructions

Gennemsnitligt antal dage, kunderne har betalt efter forfald, måned for måned de seneste 12 måneder (efter betalingsmåned). Negativ = før forfald.

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

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.8/5.0
Behavior4/5

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

The readOnlyHint already covers the safety profile, but the description goes further and defines the measurement unit (days), the sign convention ('Negativ = før forfald'), the aggregation (average), and the time bucketing (by payment month, 12 months). Those are exactly the semantics an agent needs to interpret the numbers, and they are not derivable from the annotations or the one-parameter schema.

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?

One dense sentence plus a sign-convention clause, with the metric definition front-loaded and zero filler. Every element (unit, window, grouping, sign) carries information the caller needs.

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?

For a single-metric, parameter-free read with no output schema, the description covers what is measured, over what horizon, and how to read negative values. The only residual gap is that it doesn't state the output shape (one value per month, 12 rows), though that is strongly implied by 'måned for måned'.

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 the single 'kilde' enum fully explains both options, including how little data the e-conomic demo account holds. The description adds nothing about this parameter, so the baseline 3 applies — the schema does all the work here.

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 metric (average days customers paid past due), its granularity (month by month), its window (last 12 months), and its grouping (payment month). That is far more precise than the bare title, though it never distinguishes this metric from near-neighbours such as afvigelser or forsinkelsens_effekt.

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?

Usage is only implied: the phrasing 'kunderne har betalt efter forfald' tells an agent this is a payment-delay metric, but there is no explicit when-to-use, no when-not-to-use, and no pointer to an alternative metric for related questions. An agent must infer the fit from the metric name alone.

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