Skip to main content
Glama
seolcoding

korean-stat-mcp

by seolcoding

get_available_values

Retrieve distinct values of a specific field from KOSIS statistical data to identify available filter options and determine filtering criteria.

Instructions

데이터에서 특정 필드의 사용 가능한 값을 조회합니다.

필터링 옵션을 확인하거나, 어떤 값으로 필터링할지 결정할 때 사용합니다.

Args: data_json: KOSIS 데이터 JSON 문자열 (get_statistics_data 결과) field: 필드명 (예: "C1_NM", "PRD_DE", "ITM_NM") - C1_NM: 분류1 (보통 지역명) - PRD_DE: 기간 - ITM_NM: 항목명

Returns: { "field": "C1_NM", "field_description": "분류1 (지역/카테고리)", "count": 17, "values": ["강원도", "경기도", ...], "filter_example": "filter_statistics(data, regions='서울특별시,부산광역시')" }

Example: >>> get_available_values(data, "C1_NM")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldYes
data_jsonYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that the tool reads data and returns a list of values with count and example. It does not describe error handling for invalid inputs, but the read-only nature is clear.

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 concise, front-loaded with the purpose, and structured with Args and Returns sections. Every sentence adds value, and an example is included without unnecessary repetition.

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?

Given the tool's simplicity (2 parameters, no nested objects), the description fully covers purpose, parameter details, return format, and an example. It is complete for an AI agent to select and invoke correctly.

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 description coverage is 0%, but the description adds extensive meaning for both parameters: data_json is described as a KOSIS data JSON string from get_statistics_data, and field is explained with examples and field descriptions for common values.

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 retrieves available values for a specific field from data, with a specific verb (조회) and resource (available values). It distinguishes itself from siblings like filter_statistics by stating it's used to check filtering options.

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 to use this tool when checking filtering options or deciding filter values. It provides an example, but does not explicitly mention when not to use it or name alternatives.

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