Skip to main content
Glama

Census Data (1795–1899)

get_census_data
Read-onlyIdempotent

Dutch census data for a place and year

Retrieves census data for a Dutch place or municipality for the census year nearest to the specified year. Available census years: 1795, 1830, 1840, 1849, 1859, 1869, 1879, 1889, 1899. Data sources: Volkstellingen.nl (DANS) and Gemeentegeschiedenis.nl. Either place or gg_uri must be provided.

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": {
      "year": "<year>"
    },
    "name": "get_census_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes
placeNo
gg_uriNo
provinceNo
richnessNo

Output Schema

NameRequiredDescriptionDefault
censusNoUp to 10 census records for matching places.
totalsNoAggregated population totals per province. Only present when `richness=3`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / richness / anyOf
      Added value: +[
      +  {
      +    "const": 1,
      +    "type": "number"
      +  },
      +  {
      +    "const": 2,
      +    "type": "number"
      +  },
      +  {
      +    "const": 3,
      +    "type": "number"
      +  }
      +]
    • removedInput schema / properties / richness / enum
      Removed value: -[
      -  1,
      -  2,
      -  3
      -]
    • removedInput schema / properties / richness / type
      Removed value: -"number"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "description": "Census data for matched places plus optional provincial totals.",
      +  "properties": {
      +    "census": {
      +      "description": "Up to 10 census records for matching places.",
      +      "items": {
      +        "properties": {
      +          "gg_uri": {
      +            "description": "Gemeentegeschiedenis URI for the municipality.",
      +            "type": "string"
      +          },
      +          "name": {
      +            "description": "Place name.",
      +            "type": "string"
      +          },
      +          "population": {
      +            "description": "Total population count.",
      +            "type": "integer"
      +          },
      +          "province": {
      +            "description": "Province name as recorded in the census.",
      +            "type": "string"
      +          },
      +          "table": {
      +            "description": "Key-value pairs of census data columns. Column keys are prefixed with their original column number (e.g. \"02 huizen\").\n",
      +            "type": "object"
      +          },
      +          "year": {
      +            "description": "Actual census year used.",
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "totals": {
      +      "description": "Aggregated population totals per province. Only present when `richness=3`.\n",
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.4/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, so the safety profile is covered. The description adds real behavioral detail beyond that: the nearest-available-census-year snapping rule, the enumerated list of census years, and the upstream data sources — all things an agent could not infer from structured fields.

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?

The census-year list and data-source sentence are dense and useful, and the precondition is placed last where it reads as a rule. The opening line ("Dutch census data for a place and year") largely restates the verb phrase that follows, a minor redundancy.

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?

An output schema exists, so return values need no explanation, and the annotations cover safety semantics. What is missing is coverage of half the parameters (`province`, `richness`) and any note on what happens when no census exists near the requested year — meaningful gaps for a 5-parameter tool.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden and only partly delivers: it explains `year` (snapped to nearest census year) and constrains `place`/`gg_uri`. It says nothing about `province` or the numeric `richness` levels (1/2/3), which remain completely opaque.

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?

Names a specific verb (retrieves) and resource (Dutch census data for a place/municipality), and scopes it to the nearest available census year. Sibling toolsets (births, deaths, marriages) are clearly different record types, but the description does not explicitly contrast with them; it does not need to, since the resource is distinct.

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?

Gives a hard precondition ("Either `place` or `gg_uri` must be provided"), which is genuinely useful routing information. However, it never states when to prefer this over other record-type tools or when to prefer `place` vs `gg_uri` vs `province`, leaving the choice between the two location parameters 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.