Skip to main content
Glama

Big Data Insights for Regional Inflow in Korea

find_unusual_regions

Read-onlyIdempotent

전국 시군구 중 외부에서 들어온 이동이 평소와 가장 크게 달랐던 곳의 순위를 돌려준다 — '이번 주 어디가 붐볐어?', '2023년부터 사람이 가장 갑자기 몰린 지역은?', '○○군은 언제 많이 왔어?'. 단위: [한 주 또는 기간 · 이동 건수(건) · 전국 순위] - 한 주 순위: week(비우면 가장 최근 주, 'YYYY.MM.N주차'). 기간 순위: start_week·end_week(하나만 넣어도 됨) — 지역마다 가장 크게 튄 주, '많음' 이상 횟수, 해마다 같은 때 되풀이 여부. 판정은 2023년 5월 말쯤부터 되고, 기간 순위는 연휴 주를 빼고 매긴다. 한 지역이 언제 튀었는지는 sido·sigungu를 함께 넣는다. - order: 기본은 평소 등락 대비 순(같은 %라도 평소 등락이 작은 곳이 위). '평소 유입 대비 증감률 순'은 몇 %, '평소 유입 대비 증감 건수 순'은 하루 몇 건(큰 도시가 위) — 뒤의 둘은 보정 전 값이라 판정과 다를 수 있다. - 늘어난 곳·줄어든 곳 각각 10곳씩(top 최대 30). '이어서' 안내가 있으면 rank_from으로 다음 묶음을 부른다. 직접 여러 지역·여러 주를 불러 순위를 만들지 않는다. 한 지역의 한 주는 analyze_region_week. [빅데이터 Insight: 지역별 유입인구] [업데이트 확인 dfede6]

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": "find_unusual_regions"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo늘어난 곳·줄어든 곳 각각 몇 곳까지(1–30, 기본 10)
sidoNo기간 결과에서 한 지역만 볼 때 시도 이름(sigungu와 함께)
weekNo한 주 순위의 주차 'YYYY.MM.N주차'(예: '2026.10.5주차'). 비우면 가장 최근 주차. start_week·end_week·sigungu와 함께 쓰지 않음
orderNo순위 방식. 기본은 '평소 등락 대비 (보정) 변화 순'(판정이 센 순서, 그냥 '어디가 튀었나'). '몇 % 늘었나'를 물으면 '평소 유입 대비 증감률 순', '몇 건 늘었나'를 물으면 '평소 유입 대비 증감 건수 순'평소 등락 대비 (보정) 변화 순
sigunguNo기간 결과에서 한 지역만 볼 때 시군구 이름. 넣으면 그 지역이 이 기간에 튄 주 전부와 같은 시기 일을 돌려줌
end_weekNo기간 결과의 끝 주 'YYYY.MM.N주차'(예: '2026.10.5주차'). 비우면 가장 최근 주차
rank_fromNo몇 위부터 보여 줄지(기본 1, 이어서 볼 때 결과의 '이어서' 안내대로)
start_weekNo기간 결과의 시작 주 'YYYY.MM.N주차'(예: '2023.06.1주차'). 비우면 판정할 수 있는 첫 주(2023년 5월 말쯤). 그보다 앞을 넣어도 앞부분은 빠지고 결과 맨 위에 실제 기간이 나옴

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / order
      Added value: +{
      +  "default": "평소 등락 대비 (보정) 변화 순",
      +  "description": "순위 방식. 기본은 '평소 등락 대비 (보정) 변화 순'(판정이 센 순서, 그냥 '어디가 튀었나'). '몇 % 늘었나'를 물으면 '평소 유입 대비 증감률 순', '몇 건 늘었나'를 물으면 '평소 유입 대비 증감 건수 순'",
      +  "enum": [
      +    "평소 등락 대비 (보정) 변화 순",
      +    "평소 유입 대비 증감률 순",
      +    "평소 유입 대비 증감 건수 순"
      +  ],
      +  "title": "Order",
      +  "type": "string"
      +}
    • addedInput schema / properties / rank_from
      Added value: +{
      +  "default": 1,
      +  "description": "몇 위부터 보여 줄지(기본 1, 이어서 볼 때 결과의 '이어서' 안내대로)",
      +  "minimum": 1,
      +  "title": "Rank From",
      +  "type": "integer"
      +}
    • changedInput schema / properties / start_week / description
      Previous value: -"기간 결과의 시작 주 'YYYY.MM.N주차'(예: '2023.06.1주차'). 비우면 판정할 수 있는 첫 주(2023년 6월쯤). 그보다 앞을 넣어도 앞부분은 빠지고 결과 맨 위에 실제 기간이 나옴"New value: +"기간 결과의 시작 주 'YYYY.MM.N주차'(예: '2023.06.1주차'). 비우면 판정할 수 있는 첫 주(2023년 5월 말쯤). 그보다 앞을 넣어도 앞부분은 빠지고 결과 맨 위에 실제 기간이 나옴"
    • changedInput schema / properties / top / default
      Previous value: -15New value: +10
    • changedInput schema / properties / top / description
      Previous value: -"늘어난 곳·줄어든 곳 각각 몇 곳까지(1–30, 기본 15)"New value: +"늘어난 곳·줄어든 곳 각각 몇 곳까지(1–30, 기본 10)"
  2. Changed1 schema field changed
    • changedInput schema / properties / top / description
      Previous value: -"늘어난 곳·줄어든 곳 각각 몇 곳까지(1~30, 기본 15)"New value: +"늘어난 곳·줄어든 곳 각각 몇 곳까지(1–30, 기본 15)"
  3. Changed8 schema fields changed
    • addedInput schema / properties / end_week
      Added value: +{
      +  "default": "",
      +  "description": "기간 결과의 끝 주 'YYYY.MM.N주차'(예: '2026.10.5주차'). 비우면 가장 최근 주차",
      +  "title": "End Week",
      +  "type": "string"
      +}
    • addedInput schema / properties / sido
      Added value: +{
      +  "default": "",
      +  "description": "기간 결과에서 한 지역만 볼 때 시도 이름(sigungu와 함께)",
      +  "title": "Sido",
      +  "type": "string"
      +}
    • addedInput schema / properties / sigungu
      Added value: +{
      +  "default": "",
      +  "description": "기간 결과에서 한 지역만 볼 때 시군구 이름. 넣으면 그 지역이 이 기간에 튄 주 전부와 같은 시기 일을 돌려줌",
      +  "title": "Sigungu",
      +  "type": "string"
      +}
    • addedInput schema / properties / start_week
      Added value: +{
      +  "default": "",
      +  "description": "기간 결과의 시작 주 'YYYY.MM.N주차'(예: '2023.06.1주차'). 비우면 판정할 수 있는 첫 주(2023년 6월쯤). 그보다 앞을 넣어도 앞부분은 빠지고 결과 맨 위에 실제 기간이 나옴",
      +  "title": "Start Week",
      +  "type": "string"
      +}
    • addedInput schema / properties / top / description
      Added value: +"늘어난 곳·줄어든 곳 각각 몇 곳까지(1~30, 기본 15)"
    • addedInput schema / properties / top / maximum
      Added value: +30
    • addedInput schema / properties / top / minimum
      Added value: +1
    • changedInput schema / properties / week / description
      Previous value: -"주차 'YYYY.MM.N주차'(월~일 한 주, 그 주 목요일이 속한 달로 셈. 예: '2025.10.2주차')"New value: +"한 주 순위의 주차 'YYYY.MM.N주차'(예: '2026.10.5주차'). 비우면 가장 최근 주차. start_week·end_week·sigungu와 함께 쓰지 않음"
  4. Changed1 schema field changed
    • addedInput schema / properties / week / description
      Added value: +"주차 'YYYY.MM.N주차'(월~일 한 주, 그 주 목요일이 속한 달로 셈. 예: '2025.10.2주차')"
  5. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the read-only/idempotent annotations, the description discloses data-validity constraints (judgment only available from around late May 2023; earlier start_week inputs are silently truncated with the actual period shown at the top of results) and a methodological caveat (period rankings exclude holiday weeks; the two alternative order modes use pre-correction values and may not match the default judgment). It also explains pagination behavior via the '이어서' hint and rank_from.

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?

Purpose and example questions are front-loaded, followed by a compact unit line and bulleted mode/order instructions. It is dense but every clause carries information; the only waste is the partial repetition of the order-mode explanations already present in the schema descriptions.

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 8-parameter, all-optional analytical tool with no output schema, the description adequately covers time-mode selection, ordering semantics, result size (10 per direction, up to 30), pagination, and the shape of what comes back (week/period, movement counts, national rank). It stops short of naming returned fields, which is a minor gap given no output schema exists.

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 the schema already carries most parameter documentation. The description adds some meaning on top: it maps natural-language question phrasing to the correct order mode, explains that sido and sigungu must be supplied together to surface a single region's spike weeks, and notes the pre-correction caveat for the non-default order values, which the schema does not state.

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 first sentence states a specific verb (ranks/returns) and resource (sigungu areas where inbound movement deviated most from normal), then anchors it with three example questions an agent can pattern-match against. It also explicitly distinguishes itself from the sibling analyze_region_week ('한 지역의 한 주는 analyze_region_week') and warns against manually assembling rankings from many single-region queries.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The definition gives explicit use cases ('이번 주 어디가 붐볐어?', '2023년부터 사람이 가장 갑자기 몰린 지역은?'), the two operating modes (single week vs. period via start_week/end_week), and the alternative tool for the single-region-single-week case. It also states an anti-pattern: do not build rankings by calling many regions/weeks directly.

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.

Resources