Skip to main content
Glama
neneungyul2

ne-kosis-mcp

by neneungyul2

kosis_data

Retrieve statistical table data from KOSIS by specifying a period or recent N time points. Automatically splits large results to manage cell limits.

Instructions

통계표 자료를 조회합니다 (기간 지정 또는 최근 N개 시점). 결과가 40,000셀을 넘으면 기간을 자동으로 나눠 받습니다. 행이 많으면 kosis_export를 쓰세요.

Input Schema

TableJSON 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
max_rowsNo응답에 담을 최대 행 수 (넘치면 kosis_export 사용)
classificationsNo분류 코드 목록: 첫 원소가 분류1(objL1), 둘째가 분류2... 최대 8개. 전체는 'ALL', 여러 값은 공백으로 구분 (예: ["11 26", "ALL"])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
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 disclose one valuable trait – automatic period-splitting when the result exceeds 40,000 cells – but says nothing about pagination, return shape, or rate/permission constraints that an agent would want for a 9-parameter data pull.

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?

Three tight sentences with zero filler, and the core purpose plus the key behavioral constraint (40,000-cell auto-split) are front-loaded before the sibling redirect.

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 data-retrieval tool with a fully documented 9-parameter schema and no output schema, the description covers purpose, modes, the large-result behavior, and the escape hatch to kosis_export. The main remaining gap is the shape of the returned data, which no output schema documents either.

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 every parameter is already documented in the schema with format hints (e.g. YYYYMM, 'ALL'). The description only restates the period-vs-recent choice at a high level and adds no parameter-level meaning beyond the schema.

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?

Names a specific verb and resource (retrieving statistical table data) and scopes it to two modes, period-based or recent-N. It differentiates itself from kosis_export by routing large-row cases there, but gives no signal about how it differs from kosis_trend or kosis_table_meta.

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?

Explicitly offers the two invocation modes (기간 지정 또는 최근 N개 시점) and names the alternative tool (kosis_export) with the condition that selects it (행이 많으면). It stops short of stating when NOT to use this tool beyond the row-count case.

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