Skip to main content
Glama

verzamel_context

Read-onlyIdempotent

Bundelt server-side meerdere achtergrondbronnen voor een onderwerp in één antwoord. Alleen de via parameters gevraagde bronnen worden opgehaald (opt-in). Beschikbare bronnen:

  • CBS-achtergrond (publieke StatLine open data): cbs_beleidsgebied (bv. 'wonen', 'inkomen', 'criminaliteit') geeft exacte cijfers uit de gecureerde nationale-contextlaag (cache-first) voor cbs_gemeente (default GM0599). cbs_zoekterm / cbs_tabel_id (met optioneel cbs_perioden, cbs_extra_filters, cbs_top) zoeken ad hoc live in StatLine. Aggregerende Iv3-tabellen (84413NED rekeningen, 83641NED begrotingen) staan op grootteklasse-niveau, niet per gemeente; cbs_extra_filters (bv. {"RegioS": "LD03"}) en een hogere cbs_top (default 100) geven daar doorsneden uit. Netwerk-call.

  • CBS afgeleide cijfers: cbs_metric (bv. 'woningvoorraad_per_1000_inw') geeft een berekend cijfer (per-1.000, Δ t.o.v. vorig jaar, verhouding) met bronherkomst; optioneel cbs_compare_regions (tussen regio's) of cbs_compare_periodes (over de tijd), precies één van beide, met vergelijkbaarheidswaarborg, of cbs_rollup_region (bv. 'NL01') om op te rollen van leden naar ouder-niveau met dekkingsvlag.

  • CBS cube-engine (vrije slice-and-dice voor vragen buiten de vaste metrics): cube_describe (tabel-id of onderwerp) geeft de maten met hun aggregation_type, toegestane ops en dimensieleden; cube_query (een {table_id|topic, measures, filters, op, region, + max één vergelijkings-as}-dict) compileert deterministisch, weigert illegale ops ('je kunt geen gemiddelde middelen') en onthoudt zich bij een onbekend lid of niet-vergelijkbare as.

  • CBS Iv3 per-gemeente financiële data (gemeentelijke aanleveringen bij CBS): iv3_kerncijfers_gemeenten leest fin_iv3_fact in de eigen database, met beschikbare gemeenten en verslagjaren vanaf 2017. Retourneert totale lasten, overhead% (taakveld 0.4 ÷ totale lasten excl. 0.10 en 0.11, Iv3-afgeleid) en overhead & uitvoering €/inwoner per gemeente, gesorteerd op laagste overhead%. Optioneel iv3_jaar en iv3_verslagsoort ('jaarrekening' / 'begroting'). iv3_taakvelden geeft een per-taakveld uitsplitsing (bv. ['6.72','6.71'] voor jeugd + WMO; leeg = alle taakvelden). BBV-codes (selectie): 0.4=Overhead, 1.2=OOV, 2.1=Verkeer, 4.3=Onderwijs, 6.1=Samenkracht, 6.3=Inkomen, 6.71=WMO 18+, 6.72=Jeugdhulp 18-, 7.3=Afval, 7.4=Milieu, 8.3=Wonen.

  • RIVM gezondheidsdata: rivm_gezondheid (bv. 'levensverwachting', 'gezonde levensverwachting') geeft exacte RIVM-cijfers per gemeente uit de gecureerde contextlaag. Bron: RIVM Gezondheidsmonitor (GGD'en, CBS, RIVM), CC-BY 4.0, tabel 50108NED. Optioneel cbs_gemeente als regio-filter (default GM0599 Rotterdam).

  • Raadsinstrument-advies: instrument_doel ('informatie', 'controle', 'agenderen', 'besluit_wijzigen', 'nieuw_beleid', 'onderzoek') geeft welk instrument past, met doorlooptijd-afweging en RvO-template.

Voor het staven van een onderwerp met maatschappelijke cijfers en de keuze van een raadsinstrument in één call. De tool haalt geen notulen of moties op.

Beperkingen van de bronnen: CBS StatLine heeft geen jeugd-lasten en geen andere Iv3-lasten per individuele gemeente per taakveld (alleen grootteklasse-niveau) en geen levensverwachting of andere gezondheidsdata per gemeente; die laatste komt uit tabel 50108NED via rivm_gezondheid. Levert cbs_beleidsgebied niets op, dan staat de data niet in de gecureerde laag.

Retourneert: markdown met een sectie per gevraagde bron.

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": {
      "onderwerp": "<onderwerp>"
    },
    "name": "verzamel_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
cbs_topNo
iv3_jaarNo
onderwerpYes
cbs_metricNo
cube_queryNo
cbs_gemeenteNoGM0599
cbs_periodenNo
cbs_tabel_idNo
cbs_zoektermNo
cube_describeNo
iv3_taakveldenNo
instrument_doelNo
rivm_gezondheidNo
iv3_verslagsoortNojaarrekening
cbs_beleidsgebiedNo
cbs_extra_filtersNo
cbs_rollup_regionNo
cbs_compare_regionsNo
instrument_urgentieNonormaal
cbs_compare_periodesNo
instrument_op_agendaNo
iv3_kerncijfers_gemeentenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / instrument_doel / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "agenderen",
      +      "besluit_wijzigen",
      +      "controle",
      +      "informatie",
      +      "nieuw_beleid",
      +      "onderzoek"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / instrument_doel / type
      Removed value: -"string"
    • addedInput schema / properties / instrument_urgentie / enum
      Added value: +[
      +  "spoed",
      +  "normaal",
      +  "geen_haast"
      +]
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, yet the description still adds real behavior: which paths hit the network, that the curated layer is cache-first, that cube_query compiles deterministically, rejects illegal operations and abstains on unknown members, and what the output looks like (markdown with one section per requested source). It also discloses data-coverage limits and the fallback meaning when cbs_beleidsgebied returns nothing. It says nothing about latency, rate limits or partial-failure behavior across the multiple upstream sources, which matters for a 22-parameter open-world aggregator.

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

Conciseness3/5

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

Purpose is front-loaded in one sentence, and the per-source structure protects it, so the length is largely justified by 22 parameters. But it is a dense wall, with mid-bullet parentheticals, an embedded enum/lookup reference (BBV codes), and some restatement that an agent must parse to find the activation rule for each source. The source catalog could be tightened substantially without losing actionable information.

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?

For a parameter-heavy multi-source aggregator with no output schema, the definition covers the essentials: opt-in semantics, per-source activation, the return format, and the known data gaps. The main residual gap is that the one required parameter is never defined, and cross-source failure behavior is unspecified.

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?

With 0% schema description coverage, the description carries the whole burden and does so for most of the 22 parameters: cbs_beleidsgebied, cbs_gemeente (default GM0599), cbs_zoekterm/cbs_tabel_id with cbs_perioden, cbs_extra_filters, cbs_top (default 100), cbs_metric with the mutually exclusive compare/rollup options, cbs_ebra..., cube_describe/cube_query, the four iv3_* parameters, rivm_gezondheid, and the instrument_doel enum values are all explained with examples. Notably, the required parameter onderwerp is never explained, and instrument_urgentie and instrument_op_agenda are undocumented.

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?

The opening sentence names a specific verb and resource: it bundles multiple background sources server-side into one answer for a topic, and it later states the use case (substantiating a topic with societal figures plus choosing a council instrument in one call). It also carves out scope by saying it does not fetch notulen or moties, which separates it from the sibling note/context tools. It stops short of naming which sibling to prefer for overlapping needs such as adviseer_raadsinstrument versus the instrument_doel parameter here.

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?

Clear context is given: sources are strictly opt-in via parameters, and the description enumerates each source family with the parameter that activates it, plus concrete usage constraints ('precies één van beide' for cbs_compare_regions vs cbs_compare_periodes, 'leeg = alle taakvelden'). It also warns what does not exist (StatLine has no per-municipality youth or Iv3 spending, no health data; that comes from rivm_gezondheid). There are no explicit when-not-to-use-this-tool or sibling-alternative statements, so routing across the other five tools is still left to inference.

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