Skip to main content
Glama
seolcoding

korean-stat-mcp

by seolcoding

search_statistics

Search Korean statistical data from KOSIS by keyword. Filter by organization, sort by relevance or date, and get table IDs for metadata retrieval.

Instructions

KOSIS 통계표를 키워드로 검색합니다.

원하는 통계 데이터를 찾을 때 첫 번째로 사용하는 도구입니다. 검색 결과에서 org_id와 tbl_id를 얻어 다음 단계에 사용합니다.

Args: keyword: 검색 키워드 (예: "인구", "고용", "물가", "GDP") org_id: 기관 ID로 필터링 (선택) "101"=통계청, "154"=고용노동부, "301"=한국은행 limit: 최대 결과 수 (기본 10) sort: 정렬 기준 (선택) - "RANK": 관련도 순 (KOSIS 기본) - "DATE": 최신 갱신일 순 — verify_statistics 같이 최신 데이터가 중요할 때 권장 None이면 KOSIS 기본(RANK).

Returns: { "query": "인구", "result_count": 10, "results": [...], "org_distribution": {"통계청": 5, "한국은행": 3, ...}, "next_step": "get_table_metadata(org_id, tbl_id)로 테이블 구조 확인" }

Example: >>> search_statistics("인구") >>> search_statistics("고용", org_id="154") >>> search_statistics("최저임금", sort="DATE") # 최신 갱신 순

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNo
limitNo
org_idNo
keywordYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does not explicitly state that the tool is read-only or non-destructive, but the search nature and guidance on sort options give some behavioral context. However, it lacks explicit safety or side-effect disclosure.

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 well-structured with a clear purpose line, usage advice, parameter list, returns, and examples. Every sentence is useful, and the most important information is front-loaded.

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?

Despite the tool having 4 parameters and an output schema, the description is complete: it explains the return structure, includes a next_step suggestion, and provides examples. It covers all necessary context for correct use.

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

Parameters5/5

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

Schema coverage is 0%, but the description compensates fully with detailed parameter explanations, examples (e.g., org_id codes, sort options with recommendations), and default values, adding significant 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 clearly states it searches KOSIS statistics tables by keyword, with a specific verb and resource. It positions itself as the first tool to use, distinguishing from siblings like browse_categories and search_key_indicators.

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 explicitly says it is the first tool for finding statistics data and suggests the next step (get_table_metadata). It provides examples but does not explicitly exclude scenarios where alternatives might be preferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/seolcoding/korean-stat-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server