Skip to main content
Glama
cn-mcp-kit

cn-mcp-kit

by yuannuo233

lunar_date

Convert Gregorian dates to Chinese lunar calendar data, returning lunar date, zodiac, ganzhi, solar terms, festivals, and constellation; defaults to today when no date is provided.

Instructions

公历日期转农历,返回农历日期、生肖、干支、节气(上一个/下一个各差几天)、节日和星座。不传日期则按今天计算。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lunar_date"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNo公历日 1-31;省略则为今天
yearNo公历年,如 2026;省略则为今天
monthNo公历月 1-12;省略则为今天

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/5.0
Behavior4/5

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

No annotations exist, so the description carries the burden, and it does disclose the returned fields in detail plus the default-to-today behavior. It stops short of stating how out-of-range or impossible dates (e.g. Feb 31, which the schema's 1-31 bound permits) are handled.

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 sentences: the conversion and its outputs first, the default behavior second. Every clause carries information and nothing is padded.

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?

With no output schema, the description usefully names the return fields, which is the key completeness gap it needed to fill. The remaining gap is error behavior for invalid date combinations, minor for a pure conversion tool.

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% and each parameter already documents its range and the '省略则为今天' default, which the description merely restates. It adds no interpretation of the year/month/day semantics beyond the 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 conversion (公历日期转农历) and enumerates exactly what the result contains: 农历日期、生肖、干支、节气(上一个/下一个各差几天)、节日和星座. No sibling tool in the catalog performs a comparable conversion, so nothing further is needed to distinguish it.

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 only usage guidance is that omitting the date defaults to today. There is no explicit statement of when to prefer this over alternatives or any precondition, though for a self-contained calculator the implied usage is fairly clear.

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