Skip to main content
Glama

查詢台灣某一天是否放假

life__is_holiday
Read-onlyIdempotent

[台彩 發票 油價對獎]查詢台灣某一天是否放假(含補假、補班)。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "date": "<date>"
    },
    "name": "life__is_holiday"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesYYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety and idempotency are covered. The description does add one useful behavioral fact beyond them: results account for 補假 (make-up holidays) and 補班 (make-up workdays), which an agent could not infer otherwise. It says nothing about the response form (boolean vs. structured detail) or whether dates for future years are supported, which matters given there is no output schema.

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

Conciseness2/5

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

The body sentence is tight, but the leading bracketed keyword list (台彩 發票 油價對獎) is pure retrieval noise that occupies the front-loaded position and pushes the actual purpose back. Every sentence should earn its place, and that prefix does not; structure would be better with the holiday clause first.

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 one-parameter read-only lookup with full annotation coverage this is close to adequate, and the 補假/補班 note is genuinely helpful. What is missing is any statement of what comes back (a yes/no answer versus holiday name and type) — with no output schema, the description is the only place that could resolve it — plus any note on valid date range.

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?

Only one parameter exists and schema coverage is 100%, with the schema already documenting the YYYY-MM-DD format, so the baseline is 3. The description adds no meaning on top — it does not state the acceptable date range, timezone assumption (Asia/Taipei), or whether past dates are supported.

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 core clause "查詢台灣某一天是否放假(含補假、補班)" states a specific verb (查詢/is X a holiday?) plus resource (台灣某一天) and narrows scope with the 補假/補班 qualifier, so an agent can see it answers a yes/no question for one date. It is not contrasted with the nearby sibling life__get_holidays, so an agent cannot tell from the text alone which one to pick for a single date vs a list. The bracketed topic prefix (台彩 發票 油價對獎) is unrelated to holidays and dilutes the stated purpose.

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 when-to-use / when-not-to-use guidance and no named alternative, despite a strong overlap with siblings such as life__get_holidays, life__get_work_school_closures, and life__get_next_long_weekend. Only the phrase "某一天" implicitly signals the single-date case. The keyword prefix (lottery, invoice, fuel prices) is actively misleading about when this tool applies.

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