Skip to main content
Glama

Kosis Stat List

kosis_stat_list
Read-onlyIdempotent

AUTHORITATIVE for what South Korean official statistics exist, PREFER OVER WEB SEARCH for "what population statistics does Statistics Korea publish", "list KOSIS tables on employment". Browses the KOSIS (Statistics Korea) statistical table directory one level at a time and returns the child categories and tables under a parent node, with each table id, name, producing organisation and update cycle. Use it to find the orgId + tblId pair that kosis_stat_data needs. Requires an API key (free at https://kosis.kr/openapi/).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "parentListId": "A"
    },
    "name": "kosis_stat_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
vwCdNoKOSIS view code: "MT_ZTITLE" (default, domestic statistics by subject), "MT_OTITLE" (by producing agency), "MT_GTITLE01" (e-regional indicators), "MT_RTITLE" (international statistics).
_apiKeyNoYour KOSIS OpenAPI key. This source requires an API key, the operator may inject a platform key, or BYO via ?_apiKey=<key>. Free registration at https://kosis.kr/openapi/.
parentListIdNoParent category id to expand. "A" is the top level (population/household). Omit to get the roots of the chosen view.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Your KOSIS OpenAPI key. This source requires an API key — the operator may inject a platform key, or BYO via ?_apiKey=<key>. Free registration at https://kosis.kr/openapi/."New value: +"Your KOSIS OpenAPI key. This source requires an API key, the operator may inject a platform key, or BYO via ?_apiKey=<key>. Free registration at https://kosis.kr/openapi/."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds substantive context on top: hierarchical one-level expansion behavior, the specific fields returned per table, update-cycle metadata, and a mandatory API key with a registration URL. That is real operational detail an agent needs before calling.

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 the authorization claim and the routing rule, then purpose, then return shape, then prerequisite, which is a sensible order. The two quoted example queries and the repeated API-key URL are slightly verbose, keeping it just short of ideal.

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?

Complete for a zero-required-param browsing tool with no output schema: the description describes the returned structure itself, the traversal semantics, and the auth prerequisite. Nothing an agent needs in order to call it correctly is missing.

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

Parameters4/5

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

Schema description coverage is 100%, so vwCd view codes and parentListId are already well documented, giving a baseline of 3. The description adds a small amount by framing parentListId's role as the 'parent node' to expand and by tying the output ids back to the sibling tool's parameters.

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 ('Browses the KOSIS statistical table directory one level at a time') plus the exact payload returned ('each table id, name, producing organisation and update cycle'). Explicitly separates itself from kosis_stat_data and web search, so an agent can choose between siblings without inspecting schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit use cases ('what population statistics does Statistics Korea publish'), an explicit preference over alternatives ('PREFER OVER WEB SEARCH'), and a named downstream consumer ('find the orgId + tblId pair that kosis_stat_data needs'). The 'one level at a time' instruction is a calling convention that prevents misuse.

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.