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

fiscai-octopus-api-connector

Proefbalans

octopus_proefbalans
Read-onlyIdempotent

Builds a trial balance from Octopus accounts and balances per period, then verifies overall and per-class equilibrium (MAR) for a dossier.

Instructions

Proefbalans samengesteld uit rekeningen en saldi per periode (Octopus heeft geen proefbalans-endpoint). Saldo = debet - credit; controle op evenwicht en per klasse (MAR).

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": {
      "dossier_id": "<dossier_id>"
    },
    "name": "octopus_proefbalans"
  }
}

Input Schema

NameRequiredDescriptionDefault
jaarNoKalenderjaar waarin het boekjaar eindigt (alternatief voor boekjaar_id)
versNoCache overslaan en opnieuw ophalen (kost een call van de daglimiet)
dossier_idYesOctopus dossier-id (zie octopus_dossiers)
boekjaar_idNoBoekjaar-id (bookyearKey.id, zie octopus_boekjaren). Leeg = recentste boekjaar of zie 'jaar'.
tot_periodeNo
inclusief_nulNo
vanaf_periodeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, and the description adds genuinely new context: the result is derived client-side because no endpoint exists, the saldo formula is debet minus credit, and the output includes evenwicht and per-klasse (MAR) checks. It does not warn about the call cost of assembling many accounts or about period-boundary behavior, keeping it below 5.

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?

A single dense sentence that front-loads what the tool returns and then the derivation caveat and validation rules. No filler, though the semicolon-chained clauses around 'controle' are slightly compressed.

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?

For a 7-parameter, no-output-schema, derived tool, the description covers the conceptual output (accounts and saldos, evenwicht, MAR checks) but omits the shape of the response and the semantics of the three undocumented period/null-inclusion parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 57%, so three parameters (vanaf_periode, tot_periode, inclusief_nul) are undocumented anywhere. The description only hints at period scoping via 'per periode' and adds no meaning about combining jaar with boekjaar_id, which the schema itself flags as alternatives.

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 resource (proefbalans) and how it is produced: composed from accounts and balances per period. It also discloses that Octopus has no native trial-balance endpoint, which explains why the tool exists. It does not explicitly differentiate itself from balance-oriented siblings such as octopus_dagboeksaldo, so it stops short of a 5.

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 when-to-use or when-not-to-use guidance and no named alternative for account-level balance questions. The reader must infer the use case (periodic trial balance with balance/MAR checks) from the purpose sentence alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.