Skip to main content
Glama

Korea Data (데이터와통찰)

지역별 인구 순위

pop_rank
Read-only

지역(없으면 전국) 안 하위 지역들의 인구·증감·나이 구성 순위. 예: 전국 시군구 중 고령 비율이 가장 높은 곳, 서울에서 20~39세 비율이 높은 구.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pop_rank"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo상위 몇 줄(1~100)
sortNototal(인구)|change(지난해 말 대비 증감 수)|change_pct(증감률)|elderly_share(65세 이상 비율)|children_share(0~14세 비율)|working_share(15~64세 비율)|median_age(중위 나이)|sex_ratio(여 100명당 남)|age_count·age_share(age_from~age_to 구간 인구·비율)total
levelNochild(바로 아래 지역: 전국→시도→시군구→읍면동)|sgg(지역 안 시군구 전부)|emd(지역 안 읍면동 전부)child
orderNodesc(큰 순)|asc(작은 순)desc
age_toNo나이 구간 끝(세, 예: 39). 100 이상이면 100세 이상까지
periodNo기준 시점: '2025'(그해 12월 말) 또는 '2026-10'(그달 말). 없으면 가장 최근 달
regionNo지역 이름: 시도·시군구·읍면동(예: '서울 강남구', '수원시', '역삼1동'). 없으면 전국
age_fromNo나이 구간 시작(세, 5의 배수 예: 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is settled externally. The description adds only that rows are ranked sub-regions with implied descending order and a nationwide fallback, without mentioning result volume (default top 20), how many levels deep, or how period affects results. With annotations carrying the safety burden, this is adequate but thin.

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, zero filler, with the core scope statement front-loaded and the examples doing the disambiguation work. Every clause earns its place and nothing is repeated from the schema.

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 an eight-parameter, all-optional, read-only ranking tool with no output schema, the description conveys what is returned (ranked sub-regions by metric) and how the two headline filters combine. What remains missing is minor and largely covered by the schema: default row count, period default, and level semantics. Nothing essential for a correct first call is absent.

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% and all eight parameters are self-documented, so the baseline is 3. The description reinforces two defaults (region omitted = nationwide, age band example 20~39) but adds no syntax or interaction details beyond the schema, such as how sort='age_count' pairs with age_from/age_to.

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 operation on a specific resource: ranking of sub-regions within a region by population, change, and age composition, with a clear default ('없으면 전국'). Two concrete examples ('전국 시군구 중 고령 비율이 가장 높은 곳', '서울에서 20~39세 비율이 높은 구') make the output shape immediately graspable. It does not explicitly contrast itself with siblings like pop_stats or pop_trend, so it stops short of a 5.

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 examples effectively demonstrate when to reach for this tool: cross-region comparisons by a chosen metric or age band. That gives clear usage context without naming when NOT to use it or pointing to pop_stats/pop_trend for per-region totals or time series. Solid context, but no explicit exclusions or alternative routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.