Skip to main content
Glama

Engine Heart

calendar.list_holidays

列出指定年份的全部中国法定节假日安排,包括放假日期和调休上班日期。支持2025、2026年

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": {
      "year": "<year>"
    },
    "name": "calendar.list_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes年份,如 2026

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does disclose two non-obvious behaviors: the result includes both holiday dates and make-up workdays (调休), and only years 2025 and 2026 are supported. It does not say what happens for an unsupported year or whether the call is a pure read, but the essential behavioral context is present.

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?

Two short sentences with no waste: the primary action and output content come first, followed by the supported-range constraint. Every clause adds information an agent needs.

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?

For a one-parameter read tool with no output schema and no annotations, the description covers purpose, returned fields, and the supported year range adequately. A minor gap remains around behavior for out-of-range years and its relationship to the sibling holiday tool.

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 coverage is already 100%, so the baseline is 3; the description earns above that by adding the valid value range (2025–2026) for the year parameter, which the schema does not state. This meaningfully constrains how the agent should fill the single argument.

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 (列出...中国法定节假日安排) plus the scope (指定年份) and what the result contains (放假日期和调休上班日期). It does not name a sibling such as calendar.query_holiday to differentiate itself, so it falls 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.

Usage Guidelines3/5

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

The supported-year range (2025、2026年) implicitly tells the agent when the tool is valid, which is useful constraint guidance. However, there is no explicit statement of when to use this versus calendar.query_holiday or calendar.solar_to_lunar, and no exclusion rules.

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