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

fiscai-yuki-api-connector

Controle na afhandelen in de backoffice

yuki_afhandeling_controle
Read-onlyIdempotent

Checks whether a document is no longer in the Yuki Backoffice workflow after it has been processed, using its document ID and administration.

Instructions

Leest Backoffice.GetWorkflow en controleert of een document (document_id uit het boekingsvoorstel, 'D:') niet meer in de workflow staat, nadat het in de Yuki-backoffice is afgehandeld. Alleen lezen; kost 1 call (vernieuwt standaard). Het antwoordformaat van GetWorkflow is niet gedocumenteerd: bij twijfel 'onbepaald'.

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>",
      "document_id": "<document_id>"
    },
    "name": "yuki_afhandeling_controle"
  }
}

Input Schema

NameRequiredDescriptionDefault
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)
document_idYesDocument-ID, bv. 'D:<id>' uit het voorstel
administratieYesAdministratie: naam of Administration ID (GUID). Zie yuki_administraties.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 idempotentHint=true, and the description is consistent with them ('Alleen lezen'). Beyond that it adds genuinely useful behavior: the call costs one Yuki call, it refreshes the cache by default, and the upstream GetWorkflow response format is undocumented so the verdict may come back as 'onbepaald'. Error paths and what to do with an indeterminate result are not spelled out.

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?

Three compact sentences that front-load the core check, then the read-only/cost note, then the caveat about the undocumented response. Nothing is redundant, though the middle sentence packs cost and cache-default behavior densely enough to need a second read.

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 output schema, the description carries the burden of return semantics and does reasonably well: it explains that the outcome is a workflow-membership verdict that may be 'onbepaald'. What is missing is the tool's own response envelope (how the verdict is expressed, e.g. boolean vs status string), which the agent could only guess.

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?

Schema description coverage is 100%, so the baseline is 3, but the description adds meaning still absent from the schema: the default for 'vernieuwen' is to renew (thereby consuming a Yuki call) and document_id is tied to the boekingsvoorstel as 'D:<id>'. The domein and administratie parameters are left entirely to 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?

The description names a concrete verb and resource: it reads Backoffice.GetWorkflow and checks whether a specific document ('D:<id>') is no longer in the workflow after backoffice handling. That is far more specific than the title alone. It does not, however, name the sibling yuki_backoffice_workflow, so the agent must infer that this tool is a single-document absence check rather than a workflow listing.

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?

Usage context is stated: run it after the document has been handled in the Yuki backoffice, with document_id taken from the booking proposal. It also sets expectations for an uncertain outcome ('bij twijfel onbepaald'). It stops short of explicit when-not-to-use guidance or pointing to an alternative for listing the whole workflow.

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