cwa-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CWA_API_KEY | Yes | The API authorization code (授權碼) for accessing Central Weather Administration (CWA) open data. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_weather_forecastA | 查詢指定縣市未來 36 小時天氣預報(天氣現象、降雨機率、氣溫等)。 |
| get_earthquake_reportA | 查詢最近 N 筆顯著有感地震報告(時間、地點、規模、深度)。 |
| get_weather_warningB | 查詢指定縣市目前生效中的天氣特報(豪雨、強風等現象與有效時段)。 |
| get_typhoon_warningA | 查詢最近 N 筆颱風警報(命名、路徑強度描述、大雨/強風特報段落)。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| evacuation_advisory | 產生「請 agent 根據即時天氣/地震/特報/颱風資料,為指定縣市生成避難建議」的提示模板。 |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| counties | 可查詢的縣市名稱清單(天氣預報 API 的 locationName 合法值)。 |
TDQS
Scored across 4 tools
The four tools cover distinct domains: weather forecast, earthquake reports, weather warnings, and typhoon warnings. However, get_weather_warning and get_typhoon_warning could overlap during typhoons (heavy rain/strong wind warnings), but their descriptions focus on different parameters, so confusion is minimal.
All tools follow a get_<domain>_<type> pattern, making them predictable. The only deviation is 'report' in get_earthquake_report versus 'forecast' and 'warning' in others, which is a minor inconsistency but does not harm readability.
At 4 tools, the server is tightly scoped to the Central Weather Administration's primary data products. This is within the ideal 3-15 range, and each tool justifies its presence.
The server covers forecast, seismic events, and warnings comprehensively for its niche. Minor gaps exist, such as no get_current_weather or an explicit county-list tool (referenced externally via cwa://counties), but these are easily worked around and do not break core workflows.