Skip to main content
Glama

Constaterende dat

Euro amounts in a document

raad_bedragen
Read-onlyIdempotent

Returns all euro amounts in one document with the surrounding sentence or table row, grouped per amount, with character position (for raad_document vanaf=) and page when known. Use it to check the amounts in a council proposal or financial document without reading it all (decision point versus explanation, gross versus net). Fixed rules: amounts with €, EUR or euro; "N miljoen" without currency only in a sentence about money (marked as likely); amounts under a header like "x € 1.000" are given literally with a warning; bare numbers in tables only with kale_getallen=true. Verify an amount with raad_citaat before you use it.

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

Input Schema

NameRequiredDescriptionDefault
zoekNoOnly amounts whose sentence or table row contains these Dutch words, e.g. krediet or reserve
aantalNoMaximum number of distinct amounts, default 80
sorteringNopositie (default: order in the document) or waarde (largest amount first)
min_bedragNoOnly amounts from this number of euros, e.g. 10000
document_idYesDocument id from raad_zoeken (document hit), raad_vergadering or raad_komend
kale_getallenNoAlso numbers without a euro sign in tables with a euro header or a euro sign in the row (default false; about one in four is not an amount)

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 only cover the safety profile (readOnly, idempotent, non-destructive, closed world), so the description carries the behavioral burden and does so with unusual richness: what counts as an amount (€, EUR, euro), the 'N miljoen' heuristic and its 'likely' marking, literal amounts under headers like 'x € 1.000' flagged with a warning, and that bare table numbers require kale_getallen=true. It also discloses grouping, ordering, and that positions are meant for reuse with raad_document.

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?

Purpose and return shape come first, then usage motivation, then the extraction rules as a compact 'Fixed rules' block. Dense but nearly every clause carries operational information; the sentence with nested parentheticals and quoted examples is a bit heavy but not padded.

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?

Six parameters with one required and no output schema, yet the description fully describes return contents (amounts grouped, context sentence/row, position, page) and the extraction heuristics an agent needs to interpret noisy results. An agent could call and correctly interpret this tool without further context.

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 schema already defines all six parameters and the baseline is 3. The description still adds meaning: it explains the consequence of kale_getallen (bare numbers only then, and a quarter of those are false positives) and ties the returned character position to raad_document vanaf=, which no parameter field states. Other parameters (zoek, sortering, min_bedrag) are left 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 ('returns all euro amounts in one document') plus the exact return shape (surrounding sentence or table row, grouped per amount, character position, page). This clearly separates it from raad_document (full text reading) and raad_citaat (quote verification), both of which it names.

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 says when to use it: 'to check the amounts in a council proposal or financial document without reading it all', with concrete intents (decision point versus explanation, gross versus net). It also routes a follow-up step to a named sibling ('Verify an amount with raad_citaat'). It stops short of an explicit when-not / use-instead alternative such as reading the full document via raad_document.

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