Skip to main content
Glama
fiscai-yuki-api-connector

fiscai-yuki-api-connector

DSO en DPO

yuki_dso_dpo
Read-onlyIdempotent

Calculates average debtor and creditor payment terms (DSO/DPO) from administration revenue and class 60 purchases, with optional VAT correction and date range.

Instructions

Gemiddelde betaaltermijn: DSO = debiteuren/omzet x dagen, DPO = crediteuren/inkopen (klasse 60) x dagen, vanaf 1 januari.

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": {
      "administratie": "<administratie>",
      "jaar": "<jaar>"
    },
    "name": "yuki_dso_dpo"
  }
}

Input Schema

NameRequiredDescriptionDefault
totNoJJJJ-MM-DD, standaard vandaag of 31/12
jaarYes
domeinNoOptioneel: domeinlabel. Kiest sleutel YUKI_ACCESS_KEY_<DOMEIN> als die bestaat en telt de calls op dat domein.
vernieuwenNoSla de antwoordcache over (kost een Yuki-call)
administratieYesAdministratie: naam of Administration ID (GUID). Zie yuki_administraties.
btw_percentageNoOptionele btw-correctie op omzet/inkopen, bv. 21

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds genuine behavioral content by defining the formulas and pinning the denominator to klasse 60 inkopen and the period start to 1 January, but it says nothing about the external Yuki call, caching, or what the returned values look like.

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?

A single dense sentence that front-loads the metric name and then defines both formulas without filler. Every clause carries information, though the formula notation could be easier to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter calculation tool with annotations but no output schema, the description conveys what is computed and over which period. It leaves gaps on output shape/units beyond 'dagen', on the optional btw-correctie effect, and on failure modes when the administratie is unknown.

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 83%, so the schema already explains administratie, tot, domein, vernieuwen and btw_percentage. The description only contributes the period semantics ('vanaf 1 januari'), which indirectly frames the jaar and tot parameters, and adds nothing about the empty-description jaar parameter.

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 concrete concept (gemiddelde betaaltermijn) and spells out both metrics it returns, DSO as debiteuren/omzet x dagen and DPO as crediteuren/inkopen (klasse 60) x dagen. An agent can tell exactly what is computed, though the verb is implicit and no sibling is named for contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not guidance, no mention of prerequisites such as a valid administratie, and no routing to related tools like yuki_administraties or the btw tools. The only contextual hint is the fixed start of the period (vanaf 1 januari), which does not tell the agent when this tool is the right choice.

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

Deploy Server

Other Tools