Skip to main content
Glama

Big Data Insights for Regional Inflow in Korea

analyze_region_week

Read-onlyIdempotent

한 시군구의 한 주에 외부에서 들어온 이동이 평소보다 많았는지·적었는지, 얼마나 달랐는지 판정한다 — '그 주 사람 많이 왔어?', '지난주 평소보다 붐볐어?'. 그 주 날씨·공휴일·축제·행사와 이 지역의 지난 기록도 함께 준다. 단위: [한 주 · 이동 건수(건) · 평소 대비 판정] - 평소 값은 직전 8주(연휴 주 제외) 중앙값이고, 같은 주 비교 지역의 움직임(평일 공휴일이 든 주는 이 지역의 공휴일 반응)을 빼고 판정한다. - 전국에서 어디가 튀었는지·한 지역이 언제 튀었는지는 find_unusual_regions, 여러 주 흐름은 get_movement, 지난 해 같은 주와 견주기는 compare_same_week, 그 기간 일정 목록은 get_region_calendar, 날짜별 사람 수는 get_datalab_daily. - sido·sigungu는 list_regions로 확인한 이름, week는 'YYYY.MM.N주차'. [빅데이터 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": {
      "sido": "<sido>",
      "sigungu": "<sigungu>",
      "week": "<week>"
    },
    "name": "analyze_region_week"
  }
}

Input Schema

NameRequiredDescriptionDefault
sidoYes시도 이름. list_regions로 확인한 표기(예: '경상북도', '서울특별시')
weekYes주차 'YYYY.MM.N주차'(월–일 한 주, 그 주 목요일이 속한 달로 셈. 예: '2025.10.2주차')
sigunguYes시군구 이름. list_regions로 확인한 표기(예: '경주시', '수원시 장안구')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / week / description
      Previous value: -"주차 'YYYY.MM.N주차'(월~일 한 주, 그 주 목요일이 속한 달로 셈. 예: '2025.10.2주차')"New value: +"주차 'YYYY.MM.N주차'(월–일 한 주, 그 주 목요일이 속한 달로 셈. 예: '2025.10.2주차')"
  2. Changed3 schema fields changed
    • addedInput schema / properties / sido / description
      Added value: +"시도 이름. list_regions로 확인한 표기(예: '경상북도', '서울특별시')"
    • addedInput schema / properties / sigungu / description
      Added value: +"시군구 이름. list_regions로 확인한 표기(예: '경주시', '수원시 장안구')"
    • addedInput schema / properties / week / description
      Added value: +"주차 'YYYY.MM.N주차'(월~일 한 주, 그 주 목요일이 속한 달로 셈. 예: '2025.10.2주차')"
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly/ idempotent/ non-destructive), yet the description still adds material behavior: the baseline is the median of the prior 8 weeks excluding holiday weeks, and the verdict is computed after subtracting same-week comparison-region movement (with a separate holiday-response adjustment for weekday-holiday weeks). It also discloses that supplementary context (weather, holidays, festivals/events, historical records) is returned alongside the verdict, and names the underlying dataset — all of which affect how an agent should interpret the result.

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 the verb, the user-question framing, and a unit block, then routing, then parameter notes — a sensible order with little wasted prose. Minor drag from repeating the week/region-name formats already in the schema and from the trailing source/version tags ('[빅데이터 Insight...] [업데이트 확인 dfede6]'), which carry little selection value.

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?

With no output schema, the description still tells the agent what comes back (a vs-usual verdict plus weather, holidays, festivals, and historical records) and what the number is measured against. For a 3-parameter read-only tool whose annotations are already rich, nothing needed to call or interpret it correctly is missing.

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%, so sido/sigungu/week are already documented with formats and examples, and the description largely restates the same facts (list_regions spelling, 'YYYY.MM.N주차'). The only added meaning is confirming that the week is a Mon–Sun unit counted by the Thursday's month, which the schema also states. Baseline 3 is appropriate when the schema does the heavy lifting.

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 gives a specific verb (판정한다/judges) and a tightly scoped resource: inbound movement into one sigungu during one week versus its usual level, plus how large the deviation is. The parenthetical user-utterance examples ('그 주 사람 많이 왔어?') pin down the exact question it answers, and the stated unit line ([한 주 · 이동 건수 · 평소 대비 판정]) further fixes the output shape, so an agent can separate it from get_movement or find_unusual_regions without opening a 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?

It routes explicitly to five siblings with the condition that selects each: find_unusual_regions for national/where-it-spiked, get_movement for multi-week trends, compare_same_week for year-over-year, get_region_calendar for the period's schedule, and get_datalab_daily for per-day counts. This is a genuine when-to-use-this-instead-of-that map, not implied guidance.

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