Skip to main content
Glama

Statistik Austria Category Codes

statistik-austria.reference.category_codes
Read-onlyIdempotent

Decode a categorical column's codes into German + English display names (e.g. "STAATS-9" -> "Insgesamt" / "Total"). Requires dataset_id and dimension_code (format "C-{NAME}-{N}", from statistik-austria.dataset_metadata's category_dimensions list). Data: data.statistik.gv.at (Statistik Austria), no auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataset_idYesStatistik Austria dataset id, from statistik-austria.dataset_search (e.g. "OGD_veste309_Veste309_1").
dimension_codeYesCategorical column code to decode, from statistik-austria.dataset_metadata's category_dimensions list (format "C-{NAME}-{N}", e.g. "C-STAATS-0" for citizenship, "C-VEBDL-0" for federal state). Columns starting with "F-" are numeric measures with no code lookup.

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.3/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, so the description needs only to add context; it provides the data source, notes no auth is required, and specifies bilingual output semantics. It does not discuss edge cases like unknown codes, but this is a simple lookup with an output schema.

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 compact and front-loaded: the primary action and example come first, followed by parameter sourcing and access requirements. Every sentence carries useful information with no repetition.

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 simple two-parameter lookup with a full output schema and safety annotations, the description is complete: it covers purpose, example, where parameters come from, data source, and authentication. Nothing an agent needs to invoke it correctly is missing.

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 both parameters are already documented with format and examples. The description reinforces the dimension_code format and its source, but adds no meaning beyond 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?

The description states a specific verb ('Decode'), the resource ('categorical column's codes'), and the exact result (German + English display names) with a concrete example. It also distinguishes itself from the sibling metadata/search tools by referencing dataset_metadata's category_dimensions list as the source of dimension_code.

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?

It clearly indicates the tool is used after dataset_metadata has supplied the category_dimensions list, and the schema further excludes F- numeric columns. It does not explicitly name sibling alternatives or state 'use this instead of X', but the intended workflow is unambiguous.

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.