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

fiscai-octopus-api-connector

Synchroniseren

octopus_sync
Read-onlyIdempotent

Synchronizes Octopus accounting data locally via changed-since endpoints: first a full pull of accounts, balances, relations, and bookings, then only changes.

Instructions

Haalt rekeningen, saldi, relaties en boekingen op en houdt ze lokaal bij via de gewijzigd-sinds-endpoints (eerste keer volledig, daarna alleen wijzigingen). Versleuteld op schijf met OCTOPUS_CACHE_KEY, anders alleen in het geheugen.

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_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
jaarNoKalenderjaar waarin het boekjaar eindigt (alternatief voor boekjaar_id)
dossier_idYesOctopus dossier-id (zie octopus_dossiers)
onderdelenNo
boekjaar_idNoBoekjaar-id (bookyearKey.id, zie octopus_boekjaren). Leeg = recentste boekjaar of zie 'jaar'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so the safety profile is covered. The description adds real context beyond that: the incremental changed-since mechanism, on-disk caching encrypted with OCTOPUS_CACHE_KEY, and the in-memory-only fallback when the key is absent. It does not state what the call returns or what happens when the key is missing/invalid beyond the fallback, which keeps it from a 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?

Two compact sentences, front-loaded with what is fetched and how, followed by the storage/security note. Every clause carries information; only the encryption caveat could arguably be split out, 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?

There is no output schema, and the description never says what the tool returns (counts, status, nothing?) or that the cached data becomes available to other tools. For a sync operation with local side effects and a required dossier scope, that return-value gap is the main missing piece; the storage behavior and incremental logic are otherwise well covered.

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 coverage is 75%, so the schema already documents jaar, dossier_id and boekjaar_id. The description does add meaning by enumerating the four data parts that correspond to the 'onderdelen' enum, but it does not clarify the relationship or precedence between 'jaar' and 'boekjaar_id', which is the one genuinely ambiguous choice.

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+resource set: it fetches 'rekeningen, saldi, relaties en boekingen' and keeps them locally current via the changed-since endpoints. That is far more specific than the title 'Synchroniseren'. It does not, however, explicitly distinguish itself from siblings such as octopus_sync_status or the per-resource *_gewijzigd tools, so sibling differentiation is only implicit.

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

Usage Guidelines3/5

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

The parenthetical 'eerste keer volledig, daarna alleen wijzigingen' implies when this tool is appropriate (first run vs. incremental refresh), but there is no explicit when-to-use/when-not-to-use statement and no pointer to an alternative such as octopus_sync_status for checking state. Usage must be inferred.

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