Server definition
- Hash
- sha256:731d15c7775d5a4b0ad96dc1e7f2e69d0206e5533a3ac23ef433549b8e1513a4
- What it is
- What a remote MCP server returned when asked what it offers: 19 tools
The blob, as servednamed by its sha256
{
"instructions": null,
"tools": [
{
"description": "查詢指定縣市(可再限定鄉鎮)的肇事熱點排名,資料來自交通部道安總動員",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"area": {
"default": "ALL",
"description": "ALL 或「縣市|鄉鎮」,例如 屏東縣|恆春鎮",
"maxLength": 256,
"type": "string"
},
"city": {
"description": "縣市名稱,例如 屏東縣",
"maxLength": 128,
"type": "string"
},
"metric": {
"default": "CBI",
"description": "排名依據",
"enum": [
"CBI",
"件數",
"死亡人數",
"受傷人數"
],
"type": "string"
},
"month": {
"default": "ALL",
"description": "ALL 或 01–12",
"pattern": "^(ALL|0[1-9]|1[0-2])$",
"type": "string"
},
"year": {
"description": "民國年,106 起到今年,例如 114",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"year",
"city"
],
"type": "object"
},
"name": "get_cbi_hotspots",
"outputSchema": null
},
{
"description": "查詢某年各縣市(22 縣市加署所屬機關)的酒駕舉發件數(cases,酒精濃度超過規定標準者)與毒駕舉發件數(drugCases,吸食毒品迷幻藥麻醉品及其相類似之管制藥品者,資料集 39362);這些是行政舉發件數,不是事故件數,反映執法強度而非酒駕或毒駕發生率,不可與道安總動員或警政署統計查詢網的數字互比;毒駕舉發的 114 年數字與交通部草案說明差 616、與 113 年差 4.9 倍,原因不明,限制說明有寫;毒駕事故(傷亡事故層)請用 get_period_comparison 的 吸食違禁物駕駛 分類;目前只有 114 年,內建離線資料,不連上游",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"year": {
"description": "民國年,目前只有 114",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"year"
],
"type": "object"
},
"name": "get_county_drunk_enforcement",
"outputSchema": null
},
{
"description": "查詢首頁「行人穿越道退縮完成數」分頁各縣市的目前數量(current,照網站圖例用語),不加單位、不算合計也不判斷縣市好壞(網站沒有標示單位與統計口徑);上游給 null 的縣市(如連江縣)輸出 null 並在 notes 說明,不代表 0;刻意不公開上游圖例稱「與上月比較」的欄位(最新月份小於實際月增量,口徑不明);統計年月由網站決定,輸出的 dataPeriod 是請求用的年月",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "get_crosswalk_setback_count",
"outputSchema": null
},
{
"description": "查詢單一肇事熱點的肇因與碰撞類型分布;hotspotKeyid 與 kind 取自 get_cbi_hotspots 的結果",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"hotspotKeyid": {
"description": "熱點代碼,取自 get_cbi_hotspots 的 hotspotKeyid",
"pattern": "^[0-9A-Za-z_-]{1,32}$",
"type": "string"
},
"kind": {
"description": "熱點類型,取自 get_cbi_hotspots 的 kind",
"enum": [
"intersection",
"road"
],
"type": "string"
}
},
"required": [
"kind",
"hotspotKeyid"
],
"type": "object"
},
"name": "get_hotspot_detail",
"outputSchema": null
},
{
"description": "查詢首頁六個改善進度分頁(路口行人安全設施、人行道、減少路側障礙物、校園周邊、行人早開時相、行人專用時相)各縣市的預期改善數與實際完成數,照網站用語,不加單位也不計算完成率(網站沒有標示單位);統計年月由網站決定、各主題不同,輸出的 dataPeriod 附網站的「統計至」說明;校園周邊的說明與請求月份可能不一致,會在 notes 說明",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"subject": {
"description": "網站分頁名稱;校園周邊沒有「改善進度」字尾",
"enum": [
"路口行人安全設施改善進度",
"人行道改善進度",
"減少路側障礙物進度",
"校園周邊",
"行人早開時相進度",
"行人專用時相進度"
],
"type": "string"
}
},
"required": [
"subject"
],
"type": "object"
},
"name": "get_improvement_progress",
"outputSchema": null
},
{
"description": "查詢單一路口或路段某年度的事故位置,相同座標合併成「座標+件數」(件數多的在前);座標可能高度重複(同一路口可能落在同一點),不要當成逐案精確位置;只支援全年(不能指定月份);locationKeyid 與 kind 取自 get_cbi_hotspots 的結果",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"kind": {
"description": "熱點類型,取自 get_cbi_hotspots 的 kind",
"enum": [
"intersection",
"road"
],
"type": "string"
},
"locationKeyid": {
"description": "地點代碼,取自 get_cbi_hotspots 的 locationKeyid(不是 hotspotKeyid)",
"pattern": "^[0-9A-Za-z_-]{1,32}$",
"type": "string"
},
"year": {
"description": "民國年,106 起到今年,例如 114",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"year",
"kind",
"locationKeyid"
],
"type": "object"
},
"name": "get_location_accident_points",
"outputSchema": null
},
{
"description": "查詢單一路口或路段歷年(106 年起)的事故件數、死亡與受傷人數趨勢;locationKeyid 與 kind 取自 get_cbi_hotspots 的結果",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"kind": {
"description": "熱點類型,取自 get_cbi_hotspots 的 kind",
"enum": [
"intersection",
"road"
],
"type": "string"
},
"locationKeyid": {
"description": "地點代碼,取自 get_cbi_hotspots 的 locationKeyid(不是 hotspotKeyid)",
"pattern": "^[0-9A-Za-z_-]{1,32}$",
"type": "string"
}
},
"required": [
"kind",
"locationKeyid"
],
"type": "object"
},
"name": "get_location_history",
"outputSchema": null
},
{
"description": "查詢屏東縣 17 個路口某年(107–114 年)半徑 30 公尺內的警政署事故案件彙總;這是推算,未經人工標註,不是道安總動員的件數;locationKeyid 取自 get_cbi_hotspots 的結果,不在涵蓋範圍、沒有中心或 30 公尺內沒有案件時會說明,不代表 0 件或沒有事故",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"locationKeyid": {
"description": "地點代碼,取自 get_cbi_hotspots 的 locationKeyid(不是 hotspotKeyid)",
"pattern": "^[0-9A-Za-z_-]{1,32}$",
"type": "string"
},
"year": {
"description": "民國年,107 到 114,例如 114",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"locationKeyid",
"year"
],
"type": "object"
},
"name": "get_location_npa_cases",
"outputSchema": null
},
{
"description": "一次查詢單一路口或路段的概況:熱點的肇因與碰撞類型分布、地點歷年(106 年起)件數趨勢、某年度的事故位置;只給 year 與 get_cbi_hotspots 同一列的 rowRef(已包含 kind、熱點代碼與地點代碼,不會配錯);事故位置的限制同 get_location_accident_points",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"rowRef": {
"description": "列參照,取自 get_cbi_hotspots 同一列的 rowRef;已包含 kind、熱點代碼與地點代碼",
"pattern": "^(intersection|road):[0-9A-Za-z_-]{1,32}:[0-9A-Za-z_-]{1,32}$",
"type": "string"
},
"year": {
"description": "民國年,106 起到今年,例如 114",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"year",
"rowRef"
],
"type": "object"
},
"name": "get_location_overview",
"outputSchema": null
},
{
"description": "查詢單一路口或路段的歷年(106 年起)件數趨勢,以及指定年度(最多 5 個,省略時為上游已發布的最近 3 年)的肇因與碰撞類型;逐年說明哪些年度因未進入熱點排名而沒有肇因資料(不代表沒有事故);歷年資料的最後一年是初估值,不能單憑件數升降判斷改善成效;kind 與 locationKeyid 取自 get_cbi_hotspots 的結果,city、area 與 metric 用來掃描各年排名",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"area": {
"default": "ALL",
"description": "ALL 或「縣市|鄉鎮」,例如 屏東縣|恆春鎮;用來縮小掃描排名的範圍",
"maxLength": 256,
"type": "string"
},
"city": {
"description": "縣市名稱,例如 屏東縣",
"maxLength": 128,
"type": "string"
},
"kind": {
"description": "熱點類型,取自 get_cbi_hotspots 的 kind",
"enum": [
"intersection",
"road"
],
"type": "string"
},
"locationKeyid": {
"description": "地點代碼,取自 get_cbi_hotspots 的 locationKeyid(不是 hotspotKeyid)",
"pattern": "^[0-9A-Za-z_-]{1,32}$",
"type": "string"
},
"metric": {
"default": "CBI",
"description": "掃描各年熱點排名用的指標;路口只進其他指標排名的年度,換指標才找得到",
"enum": [
"CBI",
"件數",
"死亡人數",
"受傷人數"
],
"type": "string"
},
"years": {
"description": "要查肇因的民國年度,1–5 個、106 起到今年、不可重複;省略時查上游已發布的最近 3 個年度",
"items": {
"description": "民國年,106 起到今年,例如 114",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"kind",
"locationKeyid",
"city"
],
"type": "object"
},
"name": "get_location_trend",
"outputSchema": null
},
{
"description": "查詢縣市(或全國)某年某月累計的交通事故死傷人數,並與上游提供的比較期間(預設去年同期)比較;回傳事故總件數與指定指標(headline:事故總件數,加 30日死亡/事故受傷/事故死傷),以及依年齡、用路人、肇因等分類的 breakdown;metric 選「全部」時對死亡、受傷、死傷各查一次(3 個上游請求),輸出改依指標分組(byMetric)。酒駕、毒駕問題請用本工具。breakdown 的分類名稱(受傷、死傷版本把「死亡」換成「受傷」「死傷」):兒童(0-12歲)、少年(13-17歲)、年輕人(18-24歲)、成年人(25-64歲)、高齡者(65歲以上)、少年無照機車騎士(含大重機)、高齡者事故無照駕駛、年輕人機車騎士(含大重機)、高齡者機車騎士(含大重機)、高齡者機車騎士(含大重機)自撞、機車騎士(含大重機)自撞、高齡者行人(含代步)、高齡者使用電動代步器(含輪椅)、行人、自小客駕駛人、自行車騎士(含電自、電輔)、機車騎士(含大重機)、少年自行車騎士(含電自、電輔)、微型電動二輪車(含電輔)、大型車案件導致死亡、平交道事故總件數、平交道事故導致死亡、行人路口事故、高齡者路口事故、高齡者路段事故、大型車造成行人涉入(含代步)、大型車造成機車涉入(含大重機)、大型車造成自行車涉入(含電自、電輔)、動力機械案件導致死亡、營業用小客車案件導致死亡、追撞事故死亡人數、酒駕案件導致死亡、吸食違禁物駕駛導致死亡、外籍人士。肇因類(追撞、酒駕、毒駕)也在其中。毒駕(吸食違禁物駕駛):統計自 115 年起,115 年 7 月起定義改為納入第二當事人,所以 1–6 月與 7 月起的數字不能相加(起算年與定義變更由專案維護者提供,未核對官方公告);比較期間早於 115 年時 previous 為 null、note 為「未統計」,不是沒有發生;涵蓋月份未知。category 選填,只回傳名稱包含該字串的分類(例如 吸食違禁物駕駛),此時 headline 為空;沒帶時行為不變",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"category": {
"description": "選填;只回傳名稱包含這個字串的分類,例如 吸食違禁物駕駛(毒駕)、酒駕;headline 會是空的;沒帶時回傳全部分類",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"city": {
"description": "縣市名稱(如 屏東縣),或 全國、國道、其他",
"maxLength": 128,
"type": "string"
},
"compareWith": {
"default": "去年同期",
"description": "比較的基準",
"enum": [
"去年同期",
"前三年同期平均",
"上個月"
],
"type": "string"
},
"metric": {
"default": "死傷人數",
"description": "死亡人數是事故發生後 30 日內死亡;全部=死亡、受傷、死傷三組一次回",
"enum": [
"死亡人數",
"受傷人數",
"死傷人數",
"全部"
],
"type": "string"
},
"month": {
"description": "累計到幾月,01–12(例如 07 表示 1–7 月累計)",
"pattern": "^(0[1-9]|1[0-2])$",
"type": "string"
},
"year": {
"description": "民國年,例如 115",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"city",
"year",
"month"
],
"type": "object"
},
"name": "get_period_comparison",
"outputSchema": null
},
{
"description": "查詢學校周邊一定半徑內某年度的事故位置,相同座標合併成「座標+件數」(件數多的在前);座標高度重複(與 AccPoints 相同的行為),不要當成逐案精確位置;schoolKeyid 取自 list_schools 或 get_school_rank",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"radius": {
"anyOf": [
{
"const": 100,
"type": "number"
},
{
"const": 150,
"type": "number"
},
{
"const": 200,
"type": "number"
},
{
"const": 500,
"type": "number"
},
{
"const": 1000,
"type": "number"
}
],
"description": "半徑(公尺):100、150、200、500、1000"
},
"schoolKeyid": {
"description": "學校代碼,取自 list_schools 或 get_school_rank 的 schoolKeyid",
"pattern": "^[0-9]{1,32}$",
"type": "string"
},
"year": {
"description": "民國年,106 起到今年,例如 114",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"year",
"schoolKeyid",
"radius"
],
"type": "object"
},
"name": "get_school_accident_points",
"outputSchema": null
},
{
"description": "查詢學校周邊一定半徑內的事故熱點,依分類(地點、好發時段、年齡、車種、碰撞類型、肇因、歷年統計)分組;schoolKeyid 取自 list_schools 或 get_school_rank",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"radius": {
"anyOf": [
{
"const": 100,
"type": "number"
},
{
"const": 150,
"type": "number"
},
{
"const": 200,
"type": "number"
},
{
"const": 500,
"type": "number"
},
{
"const": 1000,
"type": "number"
}
],
"description": "半徑(公尺):100、150、200、500、1000"
},
"schoolKeyid": {
"description": "學校代碼,取自 list_schools 或 get_school_rank 的 schoolKeyid",
"pattern": "^[0-9]{1,32}$",
"type": "string"
},
"year": {
"description": "民國年,106 起到今年,例如 114",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"year",
"schoolKeyid",
"radius"
],
"type": "object"
},
"name": "get_school_hotspots",
"outputSchema": null
},
{
"description": "查詢指定年度、縣市(可再限定鄉鎮)與類型中,上游列出的排名前列學校(順序看起來是排名,但排名指標上游未公開,也不是完整排名),結果可接 get_school_hotspots",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"area": {
"default": "ALL",
"description": "ALL 或「縣市|鄉鎮」,例如 屏東縣|屏東市;可用 list_areas 查詢",
"maxLength": 256,
"type": "string"
},
"city": {
"description": "縣市名稱,例如 屏東縣",
"maxLength": 128,
"type": "string"
},
"schoolType": {
"description": "學校類型",
"enum": [
"國小",
"國中",
"高中職",
"大專院校",
"特殊教育"
],
"type": "string"
},
"year": {
"description": "民國年,106 起到今年,例如 114",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"year",
"city",
"schoolType"
],
"type": "object"
},
"name": "get_school_rank",
"outputSchema": null
},
{
"description": "查詢某縣市某年各鄉鎮的酒駕事故件數與死傷,回該縣市完整的鄉鎮列表(依死傷、案件、鄉鎮名稱排序);city 不填為屏東縣;口徑是警政署的肇因研判,不是道安總動員的數字,不可互比或推算占全縣市比例,也沒有跨縣市排名;目前只有 114 年,內建離線資料,不連上游",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"city": {
"description": "縣市名稱,22 縣市之一(寫法可用 list_areas 查),不填為屏東縣",
"maxLength": 128,
"type": "string"
},
"year": {
"description": "民國年,目前只有 114",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"year"
],
"type": "object"
},
"name": "get_township_drunk_ranking",
"outputSchema": null
},
{
"description": "列出可查詢的縣市與鄉鎮,供 get_cbi_hotspots 的 city、area 參數使用",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"city": {
"description": "指定縣市時列出該縣市的鄉鎮;不填則列出所有縣市",
"maxLength": 128,
"type": "string"
}
},
"type": "object"
},
"name": "list_areas",
"outputSchema": null
},
{
"description": "列出指定縣市(可再限定鄉鎮)與類型的學校,供 get_school_hotspots 的 schoolKeyid 使用",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"area": {
"default": "ALL",
"description": "ALL 或「縣市|鄉鎮」,例如 屏東縣|屏東市;可用 list_areas 查詢",
"maxLength": 256,
"type": "string"
},
"city": {
"description": "縣市名稱,例如 屏東縣",
"maxLength": 128,
"type": "string"
},
"schoolType": {
"description": "學校類型",
"enum": [
"國小",
"國中",
"高中職",
"大專院校",
"特殊教育"
],
"type": "string"
}
},
"required": [
"city",
"schoolType"
],
"type": "object"
},
"name": "list_schools",
"outputSchema": null
},
{
"description": "列出某縣市(或「國道」)的測速執法設置點:地址、座標、拍攝方向與速限,可用 area 再指定鄉鎮;資料來自警政署「測速執法設置點」資料集,內建離線、不連上游;資料集沒有區分固定式與移動式,也不是事故資料,不能用來判斷哪裡較危險或測速是否有效;資料集沒有連江縣的列(回空清單並說明,不代表沒有測速);少數座標明顯錯誤的列標 coordinateSuspect: true(座標原樣輸出,請勿用來定位,沒標記不代表座標正確);彰化縣、南投縣、嘉義縣、桃園市的列另併入縣資料集的「取締項目」(enforcement,原字串,座標配對不到為 null;其他縣市沒有,enforcementCoverage 標明,null 不代表沒有取締);附固定限制、免責與授權出處標示",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"area": {
"description": "鄉鎮名稱,須與資料集的寫法相同(例如 屏東市;查不到時 notes 會列出有列的鄉鎮);city 為「國道」時不可帶",
"maxLength": 256,
"type": "string"
},
"city": {
"description": "22 縣市之一(寫法可用 list_areas 查),或「國道」(國道公路警察局負責的設置點)",
"maxLength": 128,
"type": "string"
}
},
"required": [
"city"
],
"type": "object"
},
"name": "list_speed_enforcement_points",
"outputSchema": null
},
{
"description": "確認 roadsafety MCP server 是否運作中,原樣回傳訊息",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"message": {
"default": "pong",
"maxLength": 1024,
"type": "string"
}
},
"type": "object"
},
"name": "ping",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:731d15c7775d5a4b0ad96dc1e7f2e69d0206e5533a3ac23ef433549b8e1513a4 | sha256sum