Skip to main content
Glama

Big Data Insights for Regional Inflow in Korea

get_movement

Read-onlyIdempotent

한 지역(또는 전국)에 외부에서 들어온 이동이 주별로 어떻게 흘러왔는지와, 외부에서 가장 많이 오는 시군구 순위를 돌려준다(값은 하루 평균 이동 건수). 단위: [여러 주 흐름 · 이동 건수(건)] ① 흐름: item에 시군구·시도 이름 또는 전국 '계' — '○○시 올해 외부 유입 흐름 보여 줘'. 석 달 이상이면 달별로 먼저(한 번에 1년), 한 달을 고르면 주별로. ② 전국 나눠 보기: item을 비우고 category에 성별·연령·입지유형·시도 — '지난달 외부 유입은 어느 연령이 많았어?'(전국 값만, 한 달씩). ③ 많이 오는 곳 순위: category='시군구', item 비움 — '외부에서 가장 많이 오는 시군구는? 인구감소지역 중에서는?'(area, order로 주민 1명당 순). 10곳씩, top으로 100곳까지. - item 값: 전국 '계' / 성별 '남성'·'여성' / 연령 '20대 미만'–'70대 이상' / 입지유형 '상업지역'·'관광지'·'대형아울렛'·'사무지역'·'레저스포츠'·'주거지등' / 시도 이름 / 시군구 이름(sido도 함께, list_regions로 확인). - 평소보다 '늘어난' 곳은 find_unusual_regions, 한 주가 평소와 다른지는 analyze_region_week, 해마다 비교는 compare_same_week, 날짜별 사람 수는 get_datalab_daily. - 결과에 '이어서' 안내가 있으면 답 끝에 이어서 볼지 묻는다. 유출은 2023년부터 있다. [빅데이터 Insight: 지역별 유입인구] [업데이트 확인 dfede6]

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "direction": "<direction>",
      "category": "<category>"
    },
    "name": "get_movement"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo시군구 순위에서 몇 곳까지(1–100, 기본 10)
areaNo시군구 순위의 지역 범위. 기간 끝 주에 효력이 있던 행정안전부 지정 목록(2021-10 첫 지정 89곳, 2022-02부터 관심지역 18곳, 2026-10 재지정 92곳·18곳). '인구감소지역'은 관심지역을 포함(결과에서 관심지역은 이름 옆 *), '인구활력+지역'은 2026-10 재지정부터 있는 구분(이름 옆 +). '인구감소관심지역'은 예전 값으로 '인구감소지역'과 같다. 결과의 '표시'·'지역 범위 안내'를 함께 전할 것.전체
itemNo볼 대상. 흐름을 볼 때만 넣음(전국 '계', 성별 '남성', 연령 '30대', 입지유형 '관광지', 시도 이름, 시군구 이름). 비우면 나눠 보기(전국)나 시군구 순위
sidoNo시도 이름. list_regions로 확인한 표기(예: '경상북도', '서울특별시')
orderNo시군구 순위 방식. 기본은 하루 평균 유입 건수 순, 주민 수에 비해 많이 오는 곳을 물으면 '(주민 1명당) 하루 평균 유입 건수'(유출이면 같은 방식으로 유출 건수)하루 평균 유입 건수
categoryYes
end_weekNo끝 주 'YYYY.MM.N주차'. 비우면 가장 최근 주차
directionYes
rank_fromNo시군구 순위를 몇 위부터 보여 줄지(기본 1, 이어서 볼 때 결과의 안내대로)
start_weekNo시작 주 'YYYY.MM.N주차'(예: '2026.01.1주차'). 비우면 자료 처음부터

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / area / description
      Previous value: -"시군구 순위의 지역 범위. 행정안전부 2026-10 재지정 목록. '인구감소지역'은 관심지역을 포함한 110곳(결과에서 관심지역은 이름 옆 *), '인구활력+지역'은 그 안에서 여건이 나아진 12곳(이름 옆 +). '인구감소관심지역'은 예전 값으로 '인구감소지역'과 같다. 결과의 '표시'를 함께 전할 것."New value: +"시군구 순위의 지역 범위. 기간 끝 주에 효력이 있던 행정안전부 지정 목록(2021-10 첫 지정 89곳, 2022-02부터 관심지역 18곳, 2026-10 재지정 92곳·18곳). '인구감소지역'은 관심지역을 포함(결과에서 관심지역은 이름 옆 *), '인구활력+지역'은 2026-10 재지정부터 있는 구분(이름 옆 +). '인구감소관심지역'은 예전 값으로 '인구감소지역'과 같다. 결과의 '표시'·'지역 범위 안내'를 함께 전할 것."
  2. Changed3 schema fields changed
    • addedInput schema / properties / order
      Added value: +{
      +  "default": "하루 평균 유입 건수",
      +  "description": "시군구 순위 방식. 기본은 하루 평균 유입 건수 순, 주민 수에 비해 많이 오는 곳을 물으면 '(주민 1명당) 하루 평균 유입 건수'(유출이면 같은 방식으로 유출 건수)",
      +  "enum": [
      +    "하루 평균 유입 건수",
      +    "(주민 1명당) 하루 평균 유입 건수"
      +  ],
      +  "title": "Order",
      +  "type": "string"
      +}
    • changedInput schema / properties / top / default
      Previous value: -20New value: +10
    • changedInput schema / properties / top / description
      Previous value: -"시군구 순위에서 몇 곳까지(1–100, 기본 20)"New value: +"시군구 순위에서 몇 곳까지(1–100, 기본 10)"
  3. Changed1 schema field changed
    • changedInput schema / properties / top / description
      Previous value: -"시군구 순위에서 몇 곳까지(1~100, 기본 20)"New value: +"시군구 순위에서 몇 곳까지(1–100, 기본 20)"
  4. Changed2 schema fields changed
    • changedInput schema / properties / area / description
      Previous value: -"시군구 순위의 지역 범위. 행정안전부 2026-10 재지정 목록(인구감소지역 92·관심지역 18, 인구활력+지역 12는 그 안에서 여건이 나아진 곳)"New value: +"시군구 순위의 지역 범위. 행정안전부 2026-10 재지정 목록. '인구감소지역'은 관심지역을 포함한 110곳(결과에서 관심지역은 이름 옆 *), '인구활력+지역'은 그 안에서 여건이 나아진 12곳(이름 옆 +). '인구감소관심지역'은 예전 값으로 '인구감소지역'과 같다. 결과의 '표시'를 함께 전할 것."
    • changedInput schema / properties / area / enum
      Previous value: -[
      -  "전체",
      -  "인구감소지역",
      -  "인구감소관심지역",
      -  "인구활력+지역"
      -]New value: +[
      +  "전체",
      +  "인구감소지역",
      +  "인구활력+지역",
      +  "인구감소관심지역"
      +]
  5. Changed10 schema fields changed
    • addedInput schema / properties / area
      Added value: +{
      +  "default": "전체",
      +  "description": "시군구 순위의 지역 범위. 행정안전부 2026-10 재지정 목록(인구감소지역 92·관심지역 18, 인구활력+지역 12는 그 안에서 여건이 나아진 곳)",
      +  "enum": [
      +    "전체",
      +    "인구감소지역",
      +    "인구감소관심지역",
      +    "인구활력+지역"
      +  ],
      +  "title": "Area",
      +  "type": "string"
      +}
    • addedInput schema / properties / end_week / default
      Added value: +""
    • changedInput schema / properties / end_week / description
      Previous value: -"주차 'YYYY.MM.N주차'(월~일 한 주, 그 주 목요일이 속한 달로 셈. 예: '2025.10.2주차')"New value: +"끝 주 'YYYY.MM.N주차'. 비우면 가장 최근 주차"
    • addedInput schema / properties / item / default
      Added value: +""
    • addedInput schema / properties / item / description
      Added value: +"볼 대상. 흐름을 볼 때만 넣음(전국 '계', 성별 '남성', 연령 '30대', 입지유형 '관광지', 시도 이름, 시군구 이름). 비우면 나눠 보기(전국)나 시군구 순위"
    • addedInput schema / properties / rank_from
      Added value: +{
      +  "default": 1,
      +  "description": "시군구 순위를 몇 위부터 보여 줄지(기본 1, 이어서 볼 때 결과의 안내대로)",
      +  "minimum": 1,
      +  "title": "Rank From",
      +  "type": "integer"
      +}
    • addedInput schema / properties / start_week / default
      Added value: +""
    • changedInput schema / properties / start_week / description
      Previous value: -"주차 'YYYY.MM.N주차'(월~일 한 주, 그 주 목요일이 속한 달로 셈. 예: '2025.10.2주차')"New value: +"시작 주 'YYYY.MM.N주차'(예: '2026.01.1주차'). 비우면 자료 처음부터"
    • addedInput schema / properties / top
      Added value: +{
      +  "default": 20,
      +  "description": "시군구 순위에서 몇 곳까지(1~100, 기본 20)",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "title": "Top",
      +  "type": "integer"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "direction",
      -  "category",
      -  "item",
      -  "start_week",
      -  "end_week"
      -]New value: +[
      +  "direction",
      +  "category"
      +]
  6. Changed3 schema fields changed
    • addedInput schema / properties / end_week / description
      Added value: +"주차 'YYYY.MM.N주차'(월~일 한 주, 그 주 목요일이 속한 달로 셈. 예: '2025.10.2주차')"
    • addedInput schema / properties / sido / description
      Added value: +"시도 이름. list_regions로 확인한 표기(예: '경상북도', '서울특별시')"
    • addedInput schema / properties / start_week / description
      Added value: +"주차 'YYYY.MM.N주차'(월~일 한 주, 그 주 목요일이 속한 달로 셈. 예: '2025.10.2주차')"
  7. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), yet the description still adds substantial behavior: values are daily averages, aggregation is weekly (monthly first when the span is 3+ months, capped at one year), rankings return 10 at a time up to 100, empty start_week means data start, and outflow only exists from 2023. It also flags the '이어서' follow-up prompt behavior, which the agent must act on.

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?

Front-loaded with a one-line purpose, then cleanly numbered by mode, so scanning is easy. It is on the long side and repeats the item vocabulary in both prose and a bullet, plus carries low-value artifacts ('[빅데이터 Insight: ...]', '[업데이트 확인 dfede6]') that do not help an agent decide or call.

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?

For a 10-parameter tool with no output schema, the description covers what an agent needs: result granularity and units, ranking window and pagination via rank_from/top, and the presence of '표시'/'지역 범위 안내' fields. The remaining structured detail (area list effective dates, week formats) is already carried in the schema descriptions.

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?

With 80% schema coverage the baseline is 3, and the description earns above that by enumerating the exact item vocabulary ('계', '남성'/'여성', '20대 미만'–'70대 이상', the six 입지유형 labels) that the schema only abbreviates, and by explaining how item, category, area, order, top, and rank_from combine per mode. Minor gap: the direction parameter is only implied through scattered '유출' mentions rather than defined explicitly.

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 opening sentence names a specific verb and resource — weekly inflow of external movers into a region or nationwide, plus a ranking of top origin 시군구 — and states the unit (daily average movement count). The three numbered modes (① flow, ② nationwide breakdown, ③ ranking) let an agent distinguish the tool's distinct outputs from siblings without opening the schema.

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?

Explicit when-to-use routing is given per mode ('○○시 올해 외부 유입 흐름 보여 줘' → item; item empty + category=연령 → nationwide breakdown; category='시군구' → ranking). It also names four alternatives with the exact condition that selects them: find_unusual_regions for increases, analyze_region_week for a week vs. usual, compare_same_week for year-over-year, get_datalab_daily for daily counts.

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