Skip to main content
Glama
Taiwan Holiday MCP Server

Taiwan Holiday MCP Server

by lis186

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_holidayB

檢查指定日期是否為台灣假期

get_holidays_in_rangeA

獲取指定日期範圍內的所有台灣假期

get_holiday_statsC

獲取指定年份或年月的台灣假期統計資訊

get_next_holidaysA

取得指定日期之後的接下來 N 個台灣假期。未指定日期時以台北時區的今天為起算日(不含當天)。可略過一般週末,只保留具名假日。補班日不是假期,不會出現在結果裡。結果含 searchedThrough 與 truncatedByData;搜尋被上游最後一個已發布年度截斷時 truncatedByData 為 true。起算日晚於已發布資料時不會回「查無假期」。

get_workdaysA

計算工作天數。指定 year 與 month 可查整月;指定 start_date 與 end_date 可查區間(含起迄日)。週末與假期不計入工作天,補班日(補行上班)計入工作天並另外列出。上游筆數與日曆天數不符時回報錯誤,不會把缺日當成工作天。兩種查法請擇一,不要同時指定。

check_typhoon_closureA

查詢台灣颱風假(天然災害停止上班上課)。今天、明天讀行政院人事行政總處(DGPA)即時頁,其他日期讀 2001-07-30 起的歸檔。 頂層 work/school 的 status 判讀規則:

  • stopped:全縣市停止,時段見 period/from。

  • conditional:只有部分地區、學制或時段停止,必須逐一讀 cities[].rows 判斷是否適用使用者所在地;未指定縣市時只要有任何停止就是 conditional。

  • normal:有公告且照常,或確定當日無公告。

  • unknown:無法判斷。絕對不可當成「照常上班上課」回答,應告知無法確認並請使用者查看縣市政府或 DGPA 公告。 reason 非 null 代表結果仍可能改變:live 為即時頁、當天仍可能更新;pending 為歸檔可能尚未收錄(昨天到 21 天前常見);source_not_ready 為當年度資料尚未產生。 回答時請轉述 summary 與 notes,並以各縣市政府公告為準。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
支援的年份列表列出所有支援查詢的年份範圍
2024年台灣假期2024年完整的台灣假期資料
2024年假期統計2024年台灣假期統計資訊
2025年台灣假期2025年完整的台灣假期資料
2025年假期統計2025年台灣假期統計資訊
2026年台灣假期2026年完整的台灣假期資料
2026年假期統計2026年台灣假期統計資訊
系統健康狀態即時系統健康狀態和診斷資訊
快速健康檢查快速系統健康狀態檢查

TDQS

A3.7/5.0

Scored across 6 tools

Disambiguation4/5

The tools are mostly distinct: single-date holiday checking, range listing, next-holiday lookup, statistics, workday calculation, and typhoon closures each serve a clear purpose. There is minor overlap between check_holiday and using get_holidays_in_range or get_workdays for a single date, but the descriptions make the intended boundaries reasonably clear.

Naming Consistency5/5

All tool names use consistent snake_case with a verb_noun structure. The check_ prefix is used for boolean/status-style checks and get_ for retrieval or calculation, which is predictable and readable.

Tool Count5/5

Six tools is well-scoped for a Taiwan holiday server. Each tool covers a distinct common query type, and there is no obvious bloat or missing essential operation at the count level.

Completeness4/5

The surface covers the main holiday workflows: single-date checks, range queries, statistics, upcoming holidays, workday calculations, and typhoon closures. Minor gaps remain, such as workday calculations not explicitly accounting for typhoon closures and no standalone holiday-by-name lookup, but agents can mostly work around these.

Maintenance

ActivityMaintained
ResponsivenessUnresponsive