Skip to main content
Glama

Constaterende dat

Text of a document (attachment)

raad_document
Read-onlyIdempotent

Returns the text of an attachment to an agenda item, in chunks of at most 30,000 characters. With zoek= you get only the passages containing those words and their position, instead of the whole document: much faster for long documents. The document_id appears with document hits from raad_zoeken and with the documents in raad_komend. The text is extracted automatically from the file; recognised tables have " | " between the columns.

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

Input Schema

NameRequiredDescriptionDefault
zoekNoSearch within this document, e.g. kunstgras 883. Returns the best passages with their position (vanaf).
vanafNoStart position in characters, default 0
tekensNoNumber of characters, default 12000
document_idYesDocument id from raad_zoeken or raad_komend

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world access, and the description adds genuinely new behavior: 30,000-character chunk ceiling, automatic extraction, and table rows rendered with ' | ' separators. The zoek mode's speed advantage and position output are also disclosed. No permission, error, or truncation-handling notes are given.

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 the core action and chunking rule, then the zoek shortcut, then provenance, then the table-format caveat. Dense but every sentence carries information; only the mixed Dutch/English phrasing slightly slows scanning.

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

Completeness4/5

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

With no output schema, the description still tells the agent the shape of the return (plain text chunks, tables flattened with ' | ') and how to target passages. What is missing is how an agent knows further chunks exist and should be requested via vanaf, which matters for long documents.

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 would be 3, but the description adds real meaning: zoek returns the best passages plus their position (rather than a filtered document), and document_id is explicitly tied to the provenance tools. That clarifies two parameters beyond their schema text.

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: returns the text of an attachment belonging to an agenda item, delivered in chunks. It also names the sibling tools that supply document_id (raad_zoeken, raad_komend), so an agent can place it in the workflow without opening a 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?

Explicitly routes the agent between two modes: full text by default, or zoek=<words> for passages, with the rationale that passage search is 'much faster for long documents'. It also says where document_id comes from. It stops short of stating when another sibling (e.g. a transcript or citation tool) would be the better choice.

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