Skip to main content
Glama

Kosis Search

kosis_search
Read-onlyIdempotent

AUTHORITATIVE for finding the right South Korean statistics table by keyword, PREFER OVER WEB SEARCH for "find a KOSIS table about household income", "Korean statistics on semiconductor exports". Full-text searches the KOSIS (Statistics Korea) table catalogue by name and returns matching tables with their orgId, tblId, producing organisation, survey name and period coverage, the ids you then feed to kosis_stat_data. 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": {
      "searchNm": "인구"
    },
    "name": "kosis_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgIdNoOptional producing organisation id to restrict the search, e.g. "101".
_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/.
searchNmYesSearch term. Korean matches best (e.g. "인구"), but English terms hit English table names too.
startCountNoZero-based offset into the match list, for paging. Default 0.
resultCountNoMaximum matches to return, 1-100. Default 20.

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

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

Annotations already cover read-only, idempotent, non-destructive, open-world behaviour, so the bar is lower. The description still adds the API-key requirement (with a registration URL) and the fact that results are catalogue metadata rather than data values, which the annotations do not convey.

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 priority signal and the use case are front-loaded in the first clause, and every element (examples, return fields, key requirement) is load-bearing. It is a single long, comma-spliced sentence, which costs a little readability.

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?

With no output schema, the description takes on the burden of describing results and does so with a concrete field list. For a five-parameter read-only search tool, an agent has everything it needs: when to use it, what it costs (API key), and where the output goes next.

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 searchNm, orgId, paging and the API key are already documented. The description adds no syntax, range, or paging guidance beyond the schema and only restates the keyword concept, so baseline 3 applies.

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 — full-text search of the KOSIS (Statistics Korea) table catalogue by name — and names exactly what comes back (orgId, tblId, organisation, survey name, period coverage). It is clearly distinguishable from kosis_stat_data, which it names as the consumer of the returned ids.

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?

Explicitly declares itself AUTHORITATIVE for this lookup and says to PREFER it over web search, with concrete example queries ("household income", "semiconductor exports"). It also states the downstream condition: feed the returned ids to kosis_stat_data.

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.