Skip to main content
Glama

Korea Data (데이터와통찰)

지역 인구와 나이 구성

pop_stats
Read-only

지역 하나의 주민등록 인구: 총·남·여, 5세별 인구와 비율, 유소년(014)·생산연령(1564)·고령(65+) 비율, 중위 나이, 지난해 말 대비 증감. 나이 구간을 주면 그 구간 인구도.

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_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.9/5.0
Behavior4/5

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

With annotations already covering the safety profile (readOnly, non-destructive, closed-world), the description adds real value by disclosing the return content in detail and noting the comparison against last year-end. The final sentence also explains a behavioral quirk: the age-range parameters do not filter the result but add an extra segment population, which an agent could otherwise misread.

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, front-loaded with the resource and its metric list, with the optional age-range behavior called out last. Every clause maps to observable output.

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?

There is no output schema, so the description carries the burden of telling the agent what comes back, and it does so thoroughly (totals, ratios, median age, YoY change). Minor gaps remain around default period selection and units, which are documented in the schema fields instead.

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 coverage is 100%, so a baseline of 3 applies, but the description still adds meaning beyond the schema — '지역 하나의' clarifies that only one region is accepted, and '나이 구간을 주면 그 구간 인구도' clarifies that age_from/age_to are additive rather than restrictive. The period semantics are left entirely to 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?

The description names the specific resource (주민등록 인구 of a single region) and enumerates exactly what is reported: totals by sex, 5-year age bands with ratios, youth/working/elderly shares, median age, and year-end change. The phrase '지역 하나의' implies a single-region lookup rather than an aggregation, which implicitly distinguishes it from siblings like pop_rank and pop_trend, but no sibling is named explicitly.

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?

Usage is implied by the resource description (fetch population statistics for one region) but there is no explicit when-to-use or when-not-to-use statement, and no pointer to pop_rank or pop_trend for ranking/trend cases. Defaults for missing parameters live in the schema, not the description.

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.