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

fiscai-octopus-api-connector

Factuur

octopus_factuur
Read-onlyIdempotent

Retrieve a single invoice from an Octopus accounting dossier using dossier, fiscal year, journal, and document number, with optional cache bypass for refreshed results.

Instructions

Eén factuur uit de factuurmodule (GET /dossiers/{dossierId}/invoices; daglimiet 400).

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>",
      "boekjaar_id": "<boekjaar_id>",
      "dagboek": "<dagboek>",
      "documentnummer": "<documentnummer>"
    },
    "name": "octopus_factuur"
  }
}

Input Schema

NameRequiredDescriptionDefault
versNoCache overslaan en opnieuw ophalen (kost een call van de daglimiet)
dagboekYesDagboekcode (journalKey)
dossier_idYesOctopus dossier-id (zie octopus_dossiers)
boekjaar_idYes
documentnummerYesDocumentnummer (documentSequenceNr)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description usefully adds the daily call limit of 400, which is real operational context an agent needs for batching decisions, but it says nothing about caching behavior or what the response contains beyond the schema-covered 'vers' note.

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 tight sentence with zero filler, front-loading the resource and appending the endpoint and rate limit. It is efficient, though extremely terse for a 5-parameter tool.

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?

Annotations and the 80%-covered schema carry most of the load, and the daily-limit warning is a valuable addition. However, for a tool with four required parameters, no output schema, and no explanation of what a returned invoice record looks like or how it fails (not found, rate limited), the description is thinner than the tool's complexity warrants.

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 80%, so most parameters are already documented in the schema (including the cache-bypass cost note on 'vers' and the dossier-id cross-reference to octopus_dossiers). The description adds no parameter meaning beyond 'één factuur', so the baseline of 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?

"Eén factuur uit de factuurmodule" names a specific resource (a single invoice) and the backing endpoint GET /dossiers/{dossierId}/invoices, which tells an agent this is a single-record fetch rather than a list. It does not explicitly distinguish itself from siblings such as octopus_facturen_gewijzigd or octopus_onafgepunte_facturen, so it falls 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. The required identifiers (dossier_id, boekjaar_id, dagboek, documentnummer) hint that this is a by-key lookup, but the agent must infer that on its own.

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