Skip to main content
Glama
seolcoding

korean-stat-mcp

by seolcoding

verify_statistics

Verify numeric claims in natural language against KOSIS Korean statistics. Extracts number, time, region, indicator and compares to actual data with adjustable tolerance.

Instructions

LLM이 생성한 숫자 주장을 KOSIS 원본 데이터와 대조 검증합니다 (US-005).

한국어/영문 자연어 주장에서 숫자 + 시점 + 지역 + 지표를 추출하여 KOSIS의 실제 셀 값과 상대 오차 비교 후 일치 여부를 반환합니다.

Args: claim: 검증할 주장 (예: "2023년 서울 인구는 9.4M명"). table_id: 알고 있는 KOSIS TBL_ID. 'org_id:tbl_id' 형식도 허용. 생략하면 키워드 검색으로 자동 추정합니다 (정확도 ↓). tolerance: 상대 허용 오차. 기본 0.01 (= 1%).

Returns: VerifyResult dict: match, expected, actual, diff_pct, tolerance, table_id, source_url, confidence, explanation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
claimYes
table_idNo
toleranceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description fully covers behavior: extraction of numbers, relative error comparison, return of match status. It also notes accuracy impact when table_id is omitted. No contradictory information.

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?

Description is structured with a summary, then Args and Returns sections. It is efficient but slightly verbose with the code-style blocks. Front-loaded with purpose.

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?

The description covers inputs, process, and output fields (VerifyResult). It mentions the accuracy trade-off for table_id. Output fields are described, compensating for lack of output schema in context.

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

Parameters4/5

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

Schema description coverage is 0%, but the description explains each parameter: claim (the statement), table_id (optional, format, accuracy impact), tolerance (default 0.01). Adds meaning beyond 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 the tool verifies numeric claims against KOSIS data, specifying the action (verify) and resource (KOSIS). It distinguishes from sibling tools like search_statistics or browse_categories by focusing on verification of claims.

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 description explains the tool is used to verify claims with numbers, time, region, and indicator. It gives context about the extraction process but does not explicitly state when not to use it or provide direct comparisons to sibling tools.

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