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

fiscai-octopus-api-connector

Aankoop/verkoop-boeking

octopus_aankoop_verkoop_boeking
Read-onlyIdempotent

Retrieves a single purchase or sales document with its lines from an Octopus dossier using the dossier, fiscal year, journal, and document number.

Instructions

Eén aankoop- of verkoopdocument met lijnen (GET /dossiers/{dossierId}/buysellbookings; daglimiet 10).

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

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

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds real context beyond them: a hard daily limit of 10 calls and the fact that the payload includes document lines. It does not say what happens when the limit is exhausted or how the cache (vers) interacts with the quota beyond the schema note.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence that front-loads the resource, then the endpoint, then the quota constraint. Nothing is repeated from the schema and no sentence 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 four required identifiers and no output schema, the description should clarify how the key parts combine to identify a unique document and roughly what the line payload looks like; it only hints at the latter via "met lijnen". The rate limit disclosure is a strong addition, but the identification semantics remain underspecified.

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 the schema already explains vers, dagboek, dossier_id and documentnummer; the description only mirrors dossierId via the endpoint template. The undocumented boekjaar_id gains no meaning from the description, and the composite identity of boekjaar + dagboek + documentnummer is not clarified.

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 aankoop- of verkoopdocument met lijnen" names a specific resource and its scope (single document including its lines), reinforced by the endpoint path GET /dossiers/{dossierId}/buysellbookings. The verb is only implied by the HTTP method rather than stated, and no sibling is named to distinguish it from list-type tools like octopus_aankoop_verkoop_gewijzigd.

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?

Usage is implied: you call it with a dossier, boekjaar, dagboek and documentnummer to fetch one document, and the "daglimiet 10" warns that calls are rationed. There is no explicit statement of when to prefer this over the gewijzigd (changed-documents) sibling or the boekingslijnen tool, so the agent must infer the routing.

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