Skip to main content
Glama

Statistics Finland — List Statistical Tables

statfin.statistics.table_search
Read-onlyIdempotent

List all available data tables in a Statistics Finland (StatFin) category. Use this to discover what datasets are published in a given statistical domain. Returns table IDs, titles, and last-updated timestamps. Category examples: "khi" (consumer prices), "vaerak" (population), "tyonv" (unemployment), "synt" (births), "kans" (citizenships), "kbar" (consumer confidence), "rki" (building cost index), "ilma" (air transport), "matk" (accommodation statistics). The table IDs returned can be queried via the Statistics Finland PxWeb API at https://pxdata.stat.fi/PxWeb/api/v1/en/StatFin/{category}/{table_id}. No API key required — official Finnish government open data (CC BY 4.0).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryYesStatFin category code to list tables for. Examples: "khi" (consumer prices), "vaerak" (population), "tyonv" (unemployment/job seekers), "synt" (births), "adopt" (adoptions), "matk" (accommodation), "ilma" (air transport), "kans" (citizenships), "kbar" (consumer confidence), "rki" (building cost index). Returns all tables available in that statistical category.

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

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

Annotations already indicate readOnly, idempotent, and non-destructive behavior. The description adds useful disclosure beyond that: no API key required, CC BY 4.0 licensing, official government open data, and the exact return fields. There is no contradiction with annotations. It does not cover pagination or invalid-category behavior, but those are minor for this read-only listing tool.

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 description is front-loaded with the core purpose and use case, then adds return fields, category examples, an API URL, and licensing. The category examples are somewhat repetitive with the schema, but every sentence adds useful context. It is informative without being bloated.

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 single-parameter, low-complexity tool with an output schema, the description is largely complete: it explains what the tool does, when to use it, what it returns, how to continue with the returned IDs, and authentication/licensing. It does not mention edge cases like unknown categories or pagination, but these are not critical given the open-world hint and simple discovery purpose.

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%, and the schema already explains the 'category' parameter with examples. The description repeats similar category examples and adds 'Returns all tables available in that statistical category,' but this is marginal beyond the schema. Baseline 3 is appropriate because the schema carries the parameter documentation burden.

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 uses a specific verb and resource: 'List all available data tables in a Statistics Finland (StatFin) category.' It clearly states what is returned (table IDs, titles, last-updated timestamps), making its discovery/catalog role distinct from sibling data-retrieval tools like statfin.economy.consumer_price_index. The purpose is unambiguous and differentiated by function.

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 an explicit usage context: 'Use this to discover what datasets are published in a given statistical domain.' It also tells the agent that returned table IDs can be queried via the PxWeb API. However, it does not explicitly state when NOT to use this tool or name alternative sibling tools for fetching actual data, so it falls short of a 5.

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.