Skip to main content
Glama

Taiwan Road Safety Data (Unofficial)

get_cbi_hotspots

查詢指定縣市(可再限定鄉鎮)的肇事熱點排名,資料來自交通部道安總動員

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": {
      "year": "<year>",
      "city": "<city>"
    },
    "name": "get_cbi_hotspots"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNoALL 或「縣市|鄉鎮」,例如 屏東縣|恆春鎮ALL
cityYes縣市名稱,例如 屏東縣
yearYes民國年,106 起到今年,例如 114
monthNoALL 或 01–12ALL
metricNo排名依據CBI

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. 查詢 makes clear this is a read operation, and naming 交通部道安總動員 as the data source adds useful provenance. It never states how many hotspots are returned, the ranking direction, whether results are truncated, or what the response looks like — material gaps for a ranking tool with no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single clause with zero waste: the resource, its scope, and the data source are all front-loaded. Nothing is padded or repeated.

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 5 parameters, no annotations, and no output schema, the description should do more than it does. The schema covers parameter meaning well, but the description leaves the return shape (how many hotspots, what fields, ordering) and the choice among sibling hotspot tools unaddressed.

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 year, city, area, month, and metric are already documented, including the 民國年 convention and the metric enum. The description's 可再限定鄉鎮 merely echoes what the area field already says, adding no new syntax or defaulting meaning. Baseline 3 is appropriate.

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: 查詢 ... 肇事熱點排名 (query accident hotspot rankings), scoped to a county/city with an optional township narrowing. It also names the data source (交通部道安總動員). It does not differentiate itself from siblings such as get_hotspot_detail or get_school_hotspots, so it stops short of a 5.

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?

The scoping phrase 指定縣市(可再限定鄉鎮) implies when this tool applies: aggregate ranking at the county level, optionally narrowed to a township. However, it never says when to prefer get_hotspot_detail, get_school_hotspots, or get_township_drunk_ranking instead, so the routing guidance is only implied.

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