Skip to main content
Glama
neneungyul2

ne-kosis-mcp

by neneungyul2

kosis_export

Export KOSIS statistical tables to Excel (XLSX) or CSV, including raw data and time-series sheets. Set the output folder with KOSIS_EXPORT_DIR.

Instructions

통계표 자료를 엑셀(xlsx)과 CSV로 저장합니다 (원자료 시트 + 시점별 가로 표 시트). 저장 폴더는 KOSIS_EXPORT_DIR로 지정합니다.

Input Schema

NameRequiredDescriptionDefault
endNo종료 시점 (시작 시점과 같은 형식)
startNo시작 시점 (주기별 형식: Y=YYYY, Q/H=YYYYQQ/HH, M=YYYYMM)
itm_idNo항목 ID. 여러 개는 공백으로 구분, 전체는 'ALL' (kosis_table_meta로 확인)ALL
org_idYes기관 ID (예: 통계청 101). find_table 결과의 orgId
prd_seYes수록주기: Y(년) H(반기) Q(분기) M(월) D(일) F(2~10년 주기) IR(부정기)
recentNo최근 N개 시점. 시작/종료를 주지 않으면 5개를 조회합니다
tbl_idYes통계표 ID (예: DT_1B040A3). find_table 결과의 tblId
file_nameNo저장 파일 이름(확장자 제외). 기본: 통계표 ID
classificationsNo분류 코드 목록: 첫 원소가 분류1(objL1), 둘째가 분류2... 최대 8개. 전체는 'ALL', 여러 값은 공백으로 구분 (예: ["11 26", "ALL"])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations, so the description carries the full burden. It usefully discloses the output artifact structure (two sheets, xlsx + CSV) and the KOSIS_EXPORT_DIR configuration, but says nothing about overwrite behavior, required write permissions on the directory, or whether a file path/confirmation is returned.

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?

Two tightly packed sentences: the operation and output formats come first, the output-location detail second. No filler and nothing redundant with the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nine-parameter export tool with no annotations and no output schema, the definition covers the operation, artifacts, and destination folder but omits what the call returns (e.g., saved path) and any failure/overwrite semantics. Adequate but leaves real gaps for a write-to-disk tool.

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 all nine parameters are already documented in the schema. The description adds no parameter-level detail beyond the KOSIS_EXPORT_DIR environmental note; baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (저장합니다 / save) and resource (통계표 자료), plus the concrete output forms (xlsx, CSV, raw-data sheet + time-period sheet). This clearly separates it from data-fetching siblings like kosis_data, though the description never names an alternative explicitly.

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

Usage Guidelines3/5

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

The purpose implies 'use this when you want the table written to disk rather than returned in-chat', but there is no explicit when-to-use/when-not guidance or reference to the sibling kosis_data it overlaps with. Usage must be inferred from the name and format details.

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