Skip to main content
Glama
qianwei2333

cn-holiday-mcp

by qianwei2333

query_holiday

Check if a date is a Chinese public holiday, a makeup workday, or a regular workday. Get the holiday name, its date range, and any associated makeup workdays.

Instructions

查询某一天(YYYY-MM-DD)是法定节假日、调休上班日还是普通工作日。返回节假日名称、放假区间和该区间内的调休上班日。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes日期,格式 YYYY-MM-DD,例如 2026-02-17
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the output categories and return fields but does not mention error handling, edge cases (e.g., invalid dates), or any side effects. For a read-only query, this is adequate but not exhaustive.

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?

The description is a single concise sentence that front-loads the purpose and key return data. There is zero fluff, and every clause contributes meaning.

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?

Given the tool's simplicity (1 param, no output schema, no annotations), the description adequately covers what it does and what it returns. It could add notes on behavior for non-holiday days or invalid inputs, but overall it is sufficiently complete for an agent to use.

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% — the date parameter has its own format and example. The description repeats the format (YYYY-MM-DD) but adds no extra semantic value beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: querying whether a specific date is a legal holiday, compensatory workday, or ordinary day. It also specifies the return data (holiday name, interval, compensatory days), which distinguishes it from the sibling list_holidays that likely lists all holidays.

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?

The description implies usage for a single date ("查询某一天") but does not explicitly mention when to use this over the sibling tool list_holidays, nor any exclusion criteria. The context is understandable but lacking explicit guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/qianwei2333/cn-holiday-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server