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

fiscai-yuki-api-connector

Controleer openstaande post

yuki_controleer_open_post
Read-onlyIdempotent

Checks the outstanding amount for one transaction by invoice number or GUID, optionally within an administration. Helps find open invoice items, which may return multiple entries.

Instructions

Open bedrag van één transactie via factuurnummer of ID (GUID). Zonder administratie: CheckOutstandingItem; met administratie: CheckOutstandingItemAdmin. Let op: een factuurnummer kan meerdere posten opleveren. Alleen lezen; bronmethode(s): Accounting.CheckOutstandingItem, Accounting.CheckOutstandingItemAdmin. Niet live bevestigd tegen een echt dossier.

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": {
      "referentie": "<referentie>"
    },
    "name": "yuki_controleer_open_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
domeinNoOptioneel: domeinlabel. Kiest sleutel YUKI_ACCESS_KEY_<DOMEIN> als die bestaat en telt de calls op dat domein.
referentieYesFactuurnummer of GUID
vernieuwenNoSla de antwoordcache over (kost een Yuki-call)
administratieNoAdministratie: naam of Administration ID (GUID). Zie yuki_administraties.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds real value by warning that one invoice number can return multiple posten and by disclosing the source methods plus the honest caveat that it is not live-verified against a real dossier. It does not describe the returned amount's format or whether results are capped.

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?

Front-loaded with purpose and the invoice-number caveat before the method routing detail. Compact overall, with only minor redundancy in repeating the fully-qualified method names after already naming the short forms.

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-lookup, read-only tool with no output schema, the definition covers the key behaviours: which source method is used, that multiple posten may come back, and that the mapping is unverified. Return-field details (amount format, currency) remain unstated, which is the main residual gap.

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%, so the baseline applies. The description adds meaning by explaining that omitting 'administratie' switches the underlying source method, and repeats that 'referentie' accepts an invoice number or GUID, but it says nothing extra about 'domein' or 'vernieuwen' beyond what the schema already documents.

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?

States a specific verb and resource: retrieve the open amount of ONE transaction by invoice number or GUID. The scoping to a single transaction implicitly distinguishes it from the list-style siblings such as yuki_openstaande_posten, though no sibling is named explicitly.

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?

Gives a concrete conditional rule: without 'administratie' the CheckOutstandingItem method is used, with it CheckOutstandingItemAdmin, and points to yuki_administraties for valid values. It stops short of explicitly saying when to prefer this over the period/ageing siblings.

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