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

fiscai-yuki-api-connector

Kerncijfers per administratie (portfolio, accountant)

yuki_portfolio_kpis
Read-onlyIdempotent

Retrieve portfolio-level KPIs—revenue, costs, result, cash, and open receivables/payables—across multiple accounting dossiers to compare performance and spot issues without checking each file.

Instructions

Kerncijfers per administratie over meerdere dossiers heen (omzet, kosten, resultaat, liquide middelen, open debiteuren en crediteuren) voor een portfolio-overzicht. Kost ongeveer 4 Yuki-calls per administratie; standaard hoogstens 5 administraties, maximum 15. Een fout bij één dossier stopt de rest niet. Alleen lezen, geen advies; deel geen klantgegevens met derden.

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

Input Schema

NameRequiredDescriptionDefault
jaarYes
domeinNoOptioneel: domeinlabel. Kiest sleutel YUKI_ACCESS_KEY_<DOMEIN> als die bestaat en telt de calls op dat domein.
periodeNojaar, kwartaal:n of maand:n (standaard jaar)
peildatumNoOptioneel, JJJJ-MM-DD
vernieuwenNoSla de antwoordcache over (kost een Yuki-call)
administratiesNoNamen of GUID's van administraties (zie yuki_administraties). Leeg = de eerste max_administraties.
max_administratiesNoStandaard 5, maximum 15

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/destructive=false, and the description adds genuinely new operational facts: ~4 Yuki-calls per administratie, default 5 / hard max 15 administraties, and partial-failure tolerance ('een fout bij één dossier stopt de rest niet'). It also adds a data-handling caution ('deel geen klantgegevens met derden') and reiterates read-only, which is consistent rather than contradictory.

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?

Four tight sentences: metrics and scope first, then cost and caps, then failure behavior, then the safety caveat. No filler, though the 'Alleen lezen, geen advies' clause is partly redundant with readOnlyHint.

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 7-parameter read-only aggregation tool with no output schema, the description covers scope, cost, limits and resilience, which is what an agent needs before calling. Remaining gaps are minor: the per-administration return shape and the cache-skip semantics of vernieuwen are only handled by the schema.

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 86%, so the schema already explains jaar, periode, domein, vernieuwen, administraties and the caps. The description only restates the max_administraties limits and adds cost-per-administration context; it adds nothing about the meaning of periode, peildatum or vernieuwen beyond the schema.

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?

Names a specific resource (Kerncijfers per administratie) and enumerates the exact metrics returned (omzet, kosten, resultaat, liquide middelen, open debiteuren/crediteuren), plus the scope 'over meerdere dossiers heen ... voor een portfolio-overzicht'. This distinguishes it in spirit from yuki_dashboard_kpis, though it never explicitly contrasts with that sibling.

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 implied by 'voor een portfolio-overzicht' plus the default/maximum administraties caps, so an agent can infer this is the batch/portfolio variant. However, there is no explicit statement of when to pick this over yuki_dashboard_kpis or yuki_administraties, and no when-not guidance.

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