Skip to main content
Glama

看變化

compare_change
Read-onlyIdempotent

兩個年份比,哪些里增加最多、減少最多(跟網站 07「看變化」同一套):里人口(97–114 年底,戶籍;97–106 只有新竹縣市、竹南、頭份,新設里設立前是估計、不拿來比)、事故場數(111–114)、里所得中位數(111→112)、投票率(總統 / 立委不分區政黨票 / 立委區域 / 縣市長,年份照選舉目錄)。門檻自己填(增加幾人 / 件 / 萬元 / 個百分點以上才算增加很多);里界調整過、兩屆不是同一塊地的里不比、列出原因。只描述差多少,不做因果。Which neighbourhoods grew or shrank most between two years (population, crashes, income, turnout).

Input Schema

NameRequiredDescriptionDefault
toNo結束年份;不給 = 預設最後一年
topNo前幾名,預設 10
fromNo起始年份,例:97 或 107(人口)、111(事故)、2020(投票率,選舉年);不給 = 預設(投票率是最近兩屆)
unitNo單位:里(預設)或 鄉鎮;只有事故兩種都可以,其他只比里
topicYes題目:population 里人口 / crash 事故 / income 里所得中位數 / turnout_president 總統投票率 / turnout_party_list 不分區政黨票投票率 / turnout_legislator 立委(區域)投票率 / turnout_mayor 縣市長投票率
thresholdNo門檻:增加(或減少)幾人 / 件 / 萬元 / 個百分點以上才算「很多」;不給或給 0 = 預設(人口 500、事故里 5 鄉鎮 20、所得 5、投票率 3)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / from / description
      Previous value: -"起始年份,例:107(人口)、111(事故)、2020(投票率,選舉年);不給 = 預設(投票率是最近兩屆)"New value: +"起始年份,例:97 或 107(人口)、111(事故)、2020(投票率,選舉年);不給 = 預設(投票率是最近兩屆)"
  2. First observed

TDQS

A4/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 substantial behavioral caveats: per-metric year coverage (population 97–114, crashes 111–114, income 111→112, turnout by election cycle), the fact that 97–106 covers only certain counties, that pre-establishment figures for new neighbourhoods are estimates and excluded from comparison, that boundary-adjusted neighbourhoods are skipped with reasons listed, and that the tool reports magnitudes without causal claims.

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?

The core operation is front-loaded and every clause carries a constraint (year ranges, exclusions, threshold units), so little is filler. It is dense and parenthesis-heavy, which slows reading, but the length is justified by the number of metrics and caveats.

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 a six-parameter comparison tool with no output schema, the description covers metric scope, data coverage limits, threshold semantics, and exclusion rules well. It does not describe the shape of the result beyond 'top increases/decreases,' leaving result interpretation mildly underspecified.

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 baseline is 3, but the description adds real value: it explains the default threshold values per metric (population 500, crash 5/20, income 5, turnout 3), states the unit of the threshold (people/cases/10k NT$/percentage points), and describes the valid year ranges per topic that constrain from/to.

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?

States a specific verb and resource: compare two years and rank neighbourhoods by largest increase/decrease across population, crashes, income, and turnout. It names the reference implementation ('跟網站 07「看變化」同一套') and lists the exact metrics compared. It does not, however, distinguish itself from the sibling compare_groups, which an agent could easily confuse with it.

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 context is implied by the metric list and the note that thresholds are user-supplied, so an agent can infer this is for two-period difference ranking. But there is no explicit when-to-use versus compare_groups, rank, or need_ranking, and no statement of exclusions relative to those siblings.

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