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

fiscai-yuki-api-connector

Aantal pagina's van een document

yuki_archief_document_paginas
Read-onlyIdempotent

Returns the number of page images for a specified archived document, so you can verify document length before processing.

Instructions

Aantal pagina-afbeeldingen. Alleen lezen; bronmethode(s): Archive.DocumentImageCount. 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": {
      "document_id": "<document_id>"
    },
    "name": "yuki_archief_document_paginas"
  }
}

Input Schema

NameRequiredDescriptionDefault
domeinNoOptioneel: domeinlabel. Kiest sleutel YUKI_ACCESS_KEY_<DOMEIN> als die bestaat en telt de calls op dat domein.
domein_idNoDomein-ID (GUID). Bij een accountantssleutel is administratie of domein_id nodig; zie yuki_domeinen.
vernieuwenNoSla de antwoordcache over (kost een Yuki-call)
document_idYesdocument_id
administratieNoOptioneel: administratie waarvan het domein gebruikt wordt (nodig bij een accountantssleutel).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover readOnlyHint, idempotentHint, destructiveHint and openWorldHint, so the bar is lower. The description still adds real value by naming the underlying source method (Archive.DocumentImageCount) and flagging that the result is not live-verified against a real dossier, which tells the agent to treat the value as unconfirmed.

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 short clauses, zero padding, with the metric stated first and the caveat last. It is telegraphic to the point of being fragmentary, but nothing is wasted.

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?

With no output schema, the description never states the return shape (presumably an integer page count) or how it behaves on a missing or unreadable document. The auth-relevant parameters are covered by the schema, and the verification caveat helps, but the return contract remains unstated.

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 100%, so all five parameters (document_id, domein, domein_id, administratie, vernieuwen) are already documented in the schema. The description adds nothing about which key or cache flag matters here, so the baseline 3 applies.

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?

"Aantal pagina-afbeeldingen" names a specific resource and metric (page-image count for a document), which an agent can distinguish from sibling listing tools like yuki_archief_documenten. It stops short of a full verb+resource statement and never names a sibling it complements or replaces.

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 guidance on when to call this instead of yuki_archief_document or yuki_archief_document_xml, nor any preconditions or exclusions. "Alleen lezen" describes safety, not usage selection.

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