Skip to main content
Glama

Engine Heart

calendar.solar_to_lunar

将公历日期转换为农历日期,返回农历年月日、是否闰月、生肖、干支等信息

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>",
      "month": "<month>",
      "day": "<day>"
    },
    "name": "calendar.solar_to_lunar"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayYes公历日,如 17
yearYes公历年,如 2026
monthYes公历月,如 2

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does add real value by listing the returned fields, which lets the agent know it gets zodiac and ganzhi without an extra call, and a conversion is implicitly a side-effect-free read. However, it says nothing about supported Gregorian year ranges, behavior for invalid dates, or whether historical calendar rules apply — gaps a dateless API could plausibly have.

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?

A single compact sentence with the operation front-loaded followed by the return fields. Nothing is redundant and nothing could be trimmed without losing information.

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 three-parameter, side-effect-free conversion with no output schema, the description is largely sufficient: inputs are fully documented in the schema and the key return fields are named in prose. The remaining shortfall is the absence of any note on supported date ranges or error behavior, which is a minor but real gap for a calendar conversion utility.

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%: each of year, month and day is documented with an example. The description adds no additional parameter meaning (no ranges, no format caveats, no timezone notes), so the schema does all the work and the baseline score applies.

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?

States a precise verb+resource pair: converting a Gregorian date to a lunar date. It also enumerates what the conversion yields (lunar year/month/day, leap-month flag, zodiac, ganzhi), so an agent knows exactly what operation it is calling and what kind of value comes back. No sibling in the catalog performs date-system conversion, so there is no ambiguity to resolve.

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 contains no explicit when-to-use or when-not-to-use guidance and names no alternatives. For a pure, deterministic conversion function the usage is strongly implied by the name and description, but the agent must infer it rather than being told, e.g. that this is the tool to pick whenever lunar output is required.

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