Skip to main content
Glama

取得台灣國定假日、連假與補班日

get_holidays
Read-onlyIdempotent

取得台灣國定假日、連假與補班日(依人事行政總處辦公日曆),含今天是否放假、下一個連假。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNo年份(西元),不填則回傳今天起的近期資訊

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety is covered and the bar is lower. The description still adds real value beyond them by naming the authoritative data source (人事行政總處 office calendar) and disclosing the year-omitted default of returning recent information starting today.

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?

It is a single tightly packed sentence, verb-first, with the source in a parenthetical and the headline capabilities front-loaded. Every clause carries information and there is no filler.

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 read-only, one-optional-parameter lookup with no output schema, the description covers scope, data source, and default behavior, which is nearly everything an agent needs to call it correctly. The remaining gap is the unaddressed overlap with sibling holiday and long-weekend tools.

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% and the single optional 'year' parameter is fully documented in-schema, including the default behavior when omitted, so the baseline is 3. The description adds nothing further about the year parameter, such as accepted ranges or the exact window returned when it is left blank.

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 names a specific verb and resource and enumerates the exact data classes returned: national holidays, long weekends, and make-up workdays from the 人事行政總處 office calendar. It is clear what the tool does, but it does not distinguish itself from siblings such as is_holiday and get_next_long_weekend, and in fact advertises overlapping outputs ('今天是否放假、下一個連假').

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: the mention of today's status plus the next long weekend suggests a one-stop lookup for holiday planning. There is no explicit when-to-use or when-not-to-use guidance, and no routing to is_holiday or get_next_long_weekend even though those siblings appear to cover subsets of the same data.

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