Skip to main content
Glama

Hungary KSH Dataset Data

hungary-ksh.series.dataset_data
Read-onlyIdempotent

Fetch rows from one KSH dataset distribution (dataset_id + distribution_id from hungary-ksh.dataset_metadata). Distributions are semicolon-delimited CSV or SDMX-ML XML — both parsed into the same header + rows shape. Column names vary per distribution (e.g. "GEO", "TIME", "SEX", "OBS_VALUE") — call once without filter_column to see the header, then narrow with filter_column + filter_value (substring match). Rows capped 1-500 (default 50). Distributions above 5MB are rejected with a pointer to the raw download URL. Data: data.ksh.hu (KSH), no auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax rows to return after filtering (1-500, default 50).
offsetNoNumber of matching rows to skip, for paging through a large filtered result.
dataset_idYesKSH dataset UUID, from hungary-ksh.dataset_search (e.g. "f44d314b-bc27-40a7-b34e-af01b3c4ab05" for Population).
filter_valueNoSubstring to match (case-insensitive) against filter_column's value, e.g. "HU11" when filter_column is "GEO". Required when filter_column is set.
filter_columnNoColumn name to filter on, must match a column in the header returned by this same tool (column names vary per distribution, e.g. "GEO" for region, "TIME" for year, "SEX" for sex code) — call once without a filter to see the header first. Requires filter_value.
distribution_idYesDistribution UUID, from hungary-ksh.dataset_metadata's distributions list (e.g. "eb3e481e-6b5a-45d1-8076-18c4ece155c2"). Each distribution is one CSV or SDMX-ML data file for a specific breakdown of the dataset (e.g. population by region vs. by citizenship) — call dataset_metadata first to see which one you need.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already mark this as read-only, idempotent, and non-destructive; the description adds substantial useful behavior: semicolon-delimited CSV or SDMX-ML XML parsing, variable column names, substring matching, the 1-500 row cap/default, rejection of >5MB distributions with a fallback pointer, and no-auth access. This goes well beyond the annotation safety profile.

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

Conciseness5/5

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

The description is dense but every sentence earns its place: it covers source IDs, format normalization, header discovery, filtering, row limits, large-file behavior, and authentication in a compact block. Key operational guidance is front-loaded and no filler is present.

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?

For a data-fetch tool with an output schema, the description is complete: it explains the required upstream lookup, format variance, how to discover column names, how to filter, limit behavior, error handling for large distributions, and authentication status. An agent has enough context to call this tool correctly without outside knowledge.

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 description coverage is 100%, so the schema already documents all six parameters thoroughly, including defaults, constraints, and interdependence between filter_column and filter_value. The description reinforces the workflow but adds little beyond what the parameter descriptions already provide, so the baseline 3 is appropriate.

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?

The description states a specific verb and resource: 'Fetch rows from one KSH dataset distribution', identifies the required IDs and their source, and clarifies the parsed output shape. It is clearly distinguishable from the sibling metadata/search tools (hungary-ksh.reference.dataset_metadata, hungary-ksh.reference.dataset_search) by centering on distribution-level row retrieval.

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?

The description gives a clear workflow: obtain IDs from hungary-ksh.dataset_metadata, call once without filter_column to inspect the header, then filter by column/value. It does not explicitly say 'use X instead of Y', but it provides strong contextual guidance by pointing to the prerequisite metadata tool and describing the filter-first exploration pattern.

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.