is_holiday
查詢台灣某一天是否放假(含補假、補班)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD |
查詢台灣某一天是否放假(含補假、補班)。
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description bears the full burden. It usefully discloses that adjusted holidays and makeup workdays are included, which is a real behavioral detail. However, it omits the return format, data source, and an explicit read-only assurance (though 查詢 implies a read).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One tight sentence, front-loaded with the purpose and its special-case scope. No filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read-only lookup with one fully documented required parameter, the description covers purpose and edge cases. The only notable gap is the lack of any return-value statement, which is a minor omission given there is no output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% for the single date parameter, and the description adds no syntax or format meaning beyond what the schema already provides. Baseline 3 is appropriate when the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specific verb (查詢) and resource (台灣某一天是否放假), with scope explicitly including 補假/補班. The name is_holiday distinguishes it from the sibling get_holidays, but the description never names that alternative, so it stops short of a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No when-to-use guidance and no mention of when to prefer this over get_holidays. Usage is only implied by the function statement itself.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.