Skip to main content
Glama
ne-kosis-mcp

ne-kosis-mcp

by neneungyul2

kosis_trend

Compute time-series changes, growth rates, and CAGR from KOSIS statistical tables to analyze economic trends, market shifts, and period summaries.

Instructions

통계표 자료를 시계열로 묶어 직전 시점 대비 증감·증감률과 구간 요약(변화량, 증감률, 연평균 성장률 CAGR)을 계산합니다. 거시 추이와 시장 규모 변화를 볼 때 씁니다.

Input Schema

NameRequiredDescriptionDefault
endNo종료 시점 (시작 시점과 같은 형식)
startNo시작 시점 (주기별 형식: Y=YYYY, Q/H=YYYYQQ/HH, M=YYYYMM)
itm_idYes항목 ID. 여러 개는 공백으로 구분, 전체는 'ALL' (kosis_table_meta로 확인)
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
group_byNo시계열을 나눌 분류 번호 (예: [1]이면 분류1별로 한 줄씩). 기본 [1]
include_seriesNoFalse면 요약(증감률·CAGR)만 돌려줍니다
classificationsYes분류 코드 목록: 첫 원소가 분류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 are provided, so the description carries the full burden. It does disclose the computation semantics (직전 시점 대비 증감, 구간 요약, CAGR), which is the key behavioral trait, but says nothing about missing periods, minimum data requirements, or how the default 5-point window is chosen.

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 sentences with zero filler: the first front-loads what is computed and the output shape, the second gives the motivating use case. Every clause earns its place.

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 10-parameter analytical tool with no annotations and no output schema, the description does help by naming the returned metrics. But it omits default behavior (5 recent points), error handling, and any guidance on the required classification identifiers beyond what the schema already says.

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%, covering the date formats, ALL convention, group_by, and include_series, so the baseline is 3. The description adds no parameter-level meaning beyond what the schema already states.

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?

The description names a specific action (시계열로 묶어 증감·증감률·CAGR 계산) on a specific resource (통계표 자료), so an agent knows exactly what comes back. It is clear but does not distinguish itself explicitly from the sibling kosis_data, which likely returns raw observations.

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 second sentence gives a use case (거시 추이와 시장 규모 변화 파악), which implies when to reach for this tool. However, it never states when NOT to use it or points to kosis_data/kosis_export for raw series or export, so routing remains inferred.

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