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

fiscai-yuki-api-connector

Boeking: bevestigen (schrijft in Yuki)

yuki_boeking_bevestigen
Destructive

Confirm and post a single Yuki journal entry only after explicit approval for that exact proposal, using its token and proposal hash; use dry_run to preview XML without booking.

Instructions

SCHRIJFT één journaalpost in Yuki (Accounting.ProcessJournal) na uitdrukkelijke bevestiging van de gebruiker voor precies dit voorstel. Vereist het eenmalige token en de voorstel_hash uit yuki_boeking_voorstel en bevestiging='ja'. Geen bulk: één token, één boeking. Met dry_run=true ziet u de exacte XML zonder te boeken (token blijft geldig). Telt mee in de daglimiet en komt in het lokale auditlog. STANDAARD UIT: werkt alleen met YUKI_WRITE_ENABLED=ja.

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>",
      "token": "<token>",
      "voorstel_hash": "<voorstel_hash>"
    },
    "name": "yuki_boeking_bevestigen"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesHet bevestigingstoken van dit ene voorstel
domeinNoOptioneel: domeinlabel. Kiest sleutel YUKI_ACCESS_KEY_<DOMEIN> als die bestaat en telt de calls op dat domein.
dry_runNoToon de exacte XML zonder te boeken
bevestigingNoMoet 'ja' zijn: de gebruiker bevestigt uitdrukkelijk deze ene boeking
administratieYesAdministratie: naam of Administration ID (GUID). Zie yuki_administraties.
voorstel_hashYesDe voorstel_hash van dat voorstel

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag a destructive, non-idempotent, open-world write; the description adds substantial context beyond them: the write path (Accounting.ProcessJournal), the hard user-confirmation gate, one-token-one-booking semantics, that dry_run does not consume the token, that the call counts against a daily limit, that it lands in a local audit log, and that it is disabled unless the environment flag is set.

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 the operative fact (it writes), then preconditions, then side effects, then the safety toggle. Dense but every sentence carries information; the all-caps emphasis and parenthetical API name make it slightly heavier to read than necessary, without wasted sentences.

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

Completeness5/5

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

For a six-parameter destructive write with no output schema, everything an agent needs is present: enablement condition, required confirmation value, dry-run escape hatch, rate-limit and audit side effects, and no-bulk restriction. Safety semantics are covered jointly by the annotations and the description with no gaps.

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 coverage is 100%, so the per-parameter text already carries the basics and 3 is the floor. The description still adds real meaning: token is single-use per proposal, voorstel_hash must come from yuki_boeking_voorstel, bevestiging must literally be 'ja', and dry_run preserves token validity – the last point is not obvious from the schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('SCHRIJFT één journaalpost in Yuki (Accounting.ProcessJournal)') plus the exact scope: one entry, only after explicit user confirmation of a specific proposal. The 'één token, één boeking' constraint and the reference to yuki_boeking_voorstel as the source of the token cleanly separate it from the sibling proposal/skip tools.

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

Usage Guidelines5/5

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

Explicit preconditions are given: token and voorstel_hash obtained from yuki_boeking_voorstel, bevestiging='ja' required, no bulk operations, and the tool is off by default unless YUKI_WRITE_ENABLED=ja. It also names the non-committing alternative (dry_run=true shows the XML without booking) and notes the token stays valid in that case, so the agent knows both when to use it and how to preview safely.

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