Skip to main content
Glama

calendar-mcp

query_holiday

查询指定公历日期的中国法定节假日或调休安排,同时返回农历信息。支持2025、2026年。参数date格式:YYYY-MM-DD

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does disclose the supported year range and date format, but it does not explain behavior for unsupported dates, error handling, output structure, or whether the operation is read-only. For a simple query tool this is partially sufficient but still leaves notable unknowns.

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 one tight sentence that packs in the purpose, returned lunar information, supported years, and parameter format. There is no redundant text, and the important details are front-loaded before the parameter note.

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 tool with a single parameter and no annotations or output schema, the description covers the core calling contract: what date to use, what years are supported, and what kind of data comes back. However, it does not describe the response shape, what happens for unsupported dates, or the exact holiday/adjustment fields, leaving some gaps for an agent that must interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description compensates by explaining the single parameter's meaning (a Gregorian date to query) and providing the required format (YYYY-MM-DD). It also constrains the valid range via the supported-year note, which adds real value beyond the raw schema.

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 states a specific verb ('查询'/'query'), a clear resource (Chinese statutory holidays and workday adjustments for a given Gregorian date), and adds that lunar calendar info is also returned. It is easy to distinguish from siblings like list_holidays and solar_to_lunar because this tool targets a single date and combines holiday/lunar context.

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 the tool is for querying a specific date and states the supported years (2025, 2026), but it does not explicitly say when to prefer this over list_holidays or solar_to_lunar, nor does it mention alternatives or exclusions. The usage context is clear but the routing guidance is left implicit.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: listing annual holidays, querying a specific date's holiday status, and converting solar to lunar dates. No overlap or ambiguity exists between them.

Naming Consistency4/5

Two tools follow a verb_noun pattern (list_holidays, query_holiday), but solar_to_lunar deviates as a noun phrase rather than a verb-led name. The snake_case style is consistent, but the pattern is not uniform.

Tool Count4/5

Three tools is a small but reasonable set for a focused Chinese calendar and holiday server. Each tool provides a distinct function and covers the core use cases without unnecessary bloat.

Completeness3/5

The server covers annual holiday lists, single-day holiday lookup, and solar-to-lunar conversion, but it lacks a lunar-to-solar conversion, which is a natural counterpart. The limited 2025-2026 year range also restricts completeness for a general calendar server.