Skip to main content
Glama

Query reviewed structured Statbel tables

query_structured_dataset
Read-only

Read exact transaction counts from reviewed, immutable official Statbel XLSX and ZIP editions for historical Belgian property sales. Supports catalogue IDs national:NodeID671 (Belgium) and national:NodeID674 (arrondissements); explicit edition xlsx, zip or compare, four property categories, one annual/half-year/quarter period per call, 1973–2018. Returns separate edition values, missing years, source hashes and observed distribution coverage. Does not mix editions, sum overlapping periods, estimate missing values, or query arbitrary files. Distinct from PDF-digitized historical_statistics; retrospective definitions and revisions may differ. Examples: Official annual national house transactions in 1973. → {"dataset_id":"national:NodeID671","edition":"xlsx","scope":"houses","year_from":1973,"year_to":1973,"period":"Y"}; Compare the two editions of Halle-Vilvoorde apartment counts. → {"dataset_id":"national:NodeID674","edition":"compare","scope":"apartments","area":"23000","year_from":2005,"year_to":2005,"period":"Y"}; Is there a 2018 first-quarter observation in each edition? → {"dataset_id":"national:NodeID674","edition":"compare","scope":"houses","area":"44000","year_from":2018,"year_to":2018,"period":"Q1"}.

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": {
      "dataset_id": "<dataset_id>",
      "edition": "<edition>",
      "scope": "<scope>"
    },
    "name": "query_structured_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNoFive-digit arrondissement REFNIS code, required for district; Belgium is 01000.
scopeYesOfficial property category; villas here are the structured archive category, not necessarily PDF villas.
periodNoY annual (default), S1/S2 halves, or Q1–Q4 quarters. One period per call.
editionYesChoose official Excel or ZIP text edition, or compare both separately. No preferred default.
year_toNoLast year inclusive (default 2018).
year_fromNoFirst year inclusive (default 1973).
dataset_idYesCatalogue ID for national or district property sales.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint=false, and the description adds substantial behavior beyond them: editions are never mixed or summed across overlapping periods, missing values are never estimated, and the return payload includes separate edition values, missing years, source hashes and distribution coverage. That tells the agent how results will be shaped and where the tool refuses to act.

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 capability and constraints before examples, and the three worked examples with concrete argument payloads genuinely earn their space. However, the sentence listing edition options, four categories, period granularity and the year range largely restates the enum definitions already in the schema, so it is slightly longer than needed.

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, so the description carries the burden and does so by describing return contents (separate edition values, missing years, source hashes, coverage). Combined with the edition/period constraints and the argument examples, an agent has everything needed to call it correctly.

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

Parameters3/5

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

Schema coverage is 100% and the enums are already self-documenting, so the baseline of 3 applies. The description reinforces key constraints ('one annual/half-year/quarter period per call', 'four property categories', 1973–2018, area required for arrondissements) but adds little syntax or meaning the schema does not already carry.

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 ('Read exact transaction counts from reviewed, immutable official Statbel XLSX and ZIP editions'), names the two supported catalogue IDs, the supported editions, categories and year range. It explicitly distinguishes itself from the PDF-digitized historical_statistics sibling, so an agent can pick it apart from alternatives 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?

Clear context for use plus explicit exclusions: 'Does not mix editions, sum overlapping periods, estimate missing values, or query arbitrary files.' It also flags that retrospective definitions and revisions may differ from the PDF-digitized sibling. It stops short of a full when-to-use/when-not routing rule against the other statistics siblings, but the boundaries it does draw are precise.

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.