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

fiscai-octopus-api-connector

Historiek (rekening, klant, leverancier, kostenplaats)

octopus_historiek
Read-onlyIdempotent

Fetch a history report for accounts, customers, suppliers, or cost centers across a fiscal year and period range to review posted movements.

Instructions

Historiekrapport per rekening, klant, leverancier of kostenplaats over een boekjaar- en periodebereik (POST /dossiers/{dossierId}/reports/accounts/history; daglimiet 24).

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>",
      "soort": "<soort>"
    },
    "name": "octopus_historiek"
  }
}

Input Schema

NameRequiredDescriptionDefault
jaarNoKalenderjaar waarin het boekjaar eindigt (alternatief voor boekjaar_id)
versNoCache overslaan en opnieuw ophalen (kost een call van de daglimiet)
soortYes
rekeningNo
extern_idNo
inactieveNo
max_rijenNoMaximum aantal rijen in het antwoord (standaard 200)
dossier_idYesOctopus dossier-id (zie octopus_dossiers)
relatie_idNo
boekjaar_idNoBoekjaar-id (bookyearKey.id, zie octopus_boekjaren). Leeg = recentste boekjaar of zie 'jaar'.
tot_periodeNo
van_periodeNo
tot_rekeningNo
van_rekeningNo
tot_boekjaar_idNo
van_boekjaar_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context the annotations cannot: this is a POST report endpoint and it consumes a daily quota ('daglimiet 24'). It does not say whether results are silently truncated at 'max_rijen' or what the response looks like.

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, front-loaded sentence with no filler; the entity list and scope come before the technical trailer. The parenthetical REST path is of marginal value to an agent that only needs the parameter contract.

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

Completeness2/5

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

For a 16-parameter report tool with no output schema and low schema coverage, one sentence is not enough: an agent cannot determine which id to supply for which 'soort', how periods interact with fiscal years, or what the row cap does. Only the quota and endpoint are disclosed.

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 description coverage is only 31% across 16 parameters, so the description must compensate and does not. The critical mapping between 'soort' and the identifier parameters (rekening vs. relatie_id vs. extern_id) is left entirely undocumented, as are the van_/tot_ periode and van_/tot_ boekjaar_id pairs; the entity names in the description merely restate the 'soort' enum values.

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+resource ('Historiekrapport') plus the four dimensions it can pivot on (rekening, klant, leverancier, kostenplaats) and the fiscal-year/period scope. An agent can tell this is a per-entity history report rather than a raw ledger listing, though it does not explicitly name which sibling (e.g. octopus_boekingslijnen) to use instead.

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 / when-not-to-use guidance and no named alternative. The description never explains the choice between 'boekjaar_id' and 'jaar', nor when 'van_boekjaar_id'/'tot_boekjaar_id' should replace the period range.

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