Skip to main content
Glama

estat_merger_check

Detects municipal merger boundaries for Japanese city codes and checks whether time-series data crosses them, generating warnings when comparisons span boundary changes.

Instructions

【自治体分析】市区町村合併の境界検知。平成の大合併(1999-2010)を中心に、時系列データが合併境界を跨ぐかチェックし警告を生成

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": {
      "codes": "<codes>"
    },
    "name": "estat_merger_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
codesYes市区町村コードの配列(5桁、例: ["35211","14382"])
yearsNoチェック対象年のリスト(例: [2000,2005,2010,2015,2020])
listAllNotrueで登録済み全合併情報を表示

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the core behavior (boundary detection plus warning generation) and the era focus, but says nothing about what a warning contains, how codes outside the merger registry are handled, or that the call is a non-mutating lookup.

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?

Two compact clauses with the category tag front-loaded and the core action stated immediately; no filler. It could be slightly tighter, but every phrase carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the description should say more about the returned warnings and the effect of listAll on the response shape. It is adequate for understanding what the tool does but leaves the agent guessing about result structure for a diagnostic tool.

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 each of the three parameters (codes, years, listAll) is already documented in the schema with examples. The description adds only implicit framing about time-series years and says nothing about listAll's display behavior, so the baseline of 3 applies.

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 states a specific verb and resource: detecting municipal merger boundaries ('市区町村合併の境界検知') and checking whether time-series data crosses those boundaries, producing warnings. This is materially more specific than the name alone and sets it apart from generic siblings like estat_time_series, though it does not explicitly contrast with them.

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 only implied: it scopes itself to the Heisei-era mergers (1999-2010), which hints at when the check matters, but there is no explicit statement of when to call this versus estat_time_series or estat_compare_municipalities, and no stated preconditions such as needing a code list first.

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

Deploy Server

Other Tools