Skip to main content
Glama

Taiwan Road Safety Data (Unofficial)

get_school_rank

查詢指定年度、縣市(可再限定鄉鎮)與類型中,上游列出的排名前列學校(順序看起來是排名,但排名指標上游未公開,也不是完整排名),結果可接 get_school_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>",
      "schoolType": "<schoolType>"
    },
    "name": "get_school_rank"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNoALL 或「縣市|鄉鎮」,例如 屏東縣|屏東市;可用 list_areas 查詢ALL
cityYes縣市名稱,例如 屏東縣
yearYes民國年,106 起到今年,例如 114
schoolTypeYes學校類型

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the single most important behavioral trait: the returned order is an unpublished, incomplete ranking, which stops an agent from treating it as an authoritative league table. It also discloses that results are 'top' schools rather than an exhaustive list and that output feeds get_school_hotspots. It stops short of describing pagination, record fields, or failure behavior.

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?

It is a single dense sentence that front-loads the scope (year, city, type) before the ranking caveat and the chaining hint, with no filler. The parenthetical about the unpublished ranking metric is long but earns its place as the key caveat.

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 four-parameter, read-style lookup with no output schema and no annotations, the description covers the query scope, the reliability caveat on ordering, and the natural next step. It could say more about what a returned school record contains or whether there is a result cap, but nothing essential for a correct call 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 the schema already explains year (民國年), city, the schoolType enum, and the 'ALL' or '縣市|鄉鎮' format for area. The description adds only marginal meaning by noting the township constraint is optional ('可再限定鄉鎮'), leaving everything else to the schema — the baseline 3 case.

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 description gives a precise verb+resource (查詢…排名前列學校) scoped by year, city, optional township, and school type, and it explicitly warns that the ordering only looks like a ranking and is neither a published metric nor a complete ranking. It also names the sibling it chains into (get_school_hotspots), so an agent can tell the tool apart without opening any schema.

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 says results 'can be chained to get_school_hotspots', which hints at a downstream workflow but never states when to pick this over siblings such as list_schools or get_school_hotspots, and gives no exclusions or prerequisites. The audience must infer that this is the entry point for ranked-school queries.

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