Skip to main content
Glama

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

life__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": "life__get_holidays"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds useful context beyond that — the authoritative data source (人事行政總處辦公日曆) and the fact that results include whether today is a day off plus the next long weekend — but says nothing about freshness, coverage range, or response shape.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One compact sentence that front-loads the resource, but it is prefixed with an unrelated bracketed keyword string ([台彩 發票 油價對獎]) that does not describe this tool and adds noise without earning its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter, annotation-rich, read-only lookup with no output schema, the description covers what the data is and where it comes from. It falls short of complete because it fails to position the tool against obvious overlapping siblings, leaving an agent to guess which holiday lookup to call.

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 coverage is 100% and the single 'year' parameter already documents that omitting it returns near-term info from today. The description adds no meaning beyond that, so the baseline of 3 applies.

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 states a specific verb and resource: retrieve Taiwan national holidays, long weekends and make-up workdays, with the source calendar named (人事行政總處辦公日曆). However, it never distinguishes itself from close siblings such as life__is_holiday, life__get_next_long_weekend and trip__taiwan_holidays, which appear to overlap with the 'today is a holiday' and 'next long weekend' content it advertises.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus the more focused is_holiday or get_next_long_weekend siblings, and no stated exclusions or prerequisites. The only implied usage is the default-year behavior, which is already documented in the parameter schema.

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