Skip to main content
Glama

Constaterende dat

Compare two versions of a document

raad_wijzigingen
Read-onlyIdempotent

Compares two versions of a document, for example the council proposal for the preparatory meeting and the one for the council meeting (often a different document id). With only document_id the tool finds the other version itself (same kind of document, similar title, another meeting within six months); with ander_document_id you compare any two documents. Returns the outcome (identical, only headers and footers differ, or the differences word by word as [-deleted-] and {+inserted+}) with positions for raad_document(vanaf=), plus documents added later to the same agenda item. Compared on the PDF text: tables and scans can give spurious differences. 25 differences at a time; continue with vanaf_wijziging.

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": {
      "document_id": "<document_id>"
    },
    "name": "raad_wijzigingen"
  }
}

Input Schema

NameRequiredDescriptionDefault
document_idYesDocument id of one of the versions (from raad_zoeken, raad_vergadering or raad_komend)
vanaf_wijzigingNoFirst difference to show (25 at a time), default 1
ander_document_idNoOptional: the other version. Empty = find it automatically.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description adds real behavioural context on top: the auto-discovery heuristic (same document kind, similar title, other meeting within six months), the three possible outcomes with the [-deleted-]/{+inserted+} notation, and the caveat that PDF text, tables and scans can produce spurious differences.

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?

Front-loaded with purpose, then modes, then return shape, then caveats and pagination rhythm. Dense but nearly every clause carries information; the single long paragraph makes it slightly harder to scan than a structured layout would.

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

Completeness5/5

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

No output schema exists, yet the description spells out the return repertoire (identical, header/footer-only, or word-level diffs with positions for raad_document(vanaf=)) plus extra agenda-item documents, so an agent knows what to expect and how to page through large diffs.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema: it explains the empty-anders_document_id auto-find heuristic and that vanaf_wijziging continues paging in blocks of 25. It leaves the format of document_id itself to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Compares two versions of a document') and immediately makes clear the two operating modes plus a concrete example (council proposal vs. council meeting). An agent can tell this is a diff tool, not a fetch tool, without inspecting the schema.

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

Usage Guidelines4/5

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

Gives explicit conditional guidance on which parameter selects which behaviour: document_id alone auto-finds the counterpart, ander_document_id compares any two documents. It does not name a sibling tool as an alternative or state when not to use this, which keeps it short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources