New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

convert_lunar_to_solar

Use this when you know a lunar date such as 八月十五 or 闰六月初一 of a given lunar year and need the Gregorian date (e.g. for a lunar birthday or festival). Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you s...

SERVERCalcgrid SOURCEhttps://tttkmbb.com/mcp
Medium RISK CLASS
Category Write
Parameters 43 required
Recommended Rate-limitedsee the rule below
Registry record Grade D, identity unverified Pull the record →

This record as markdown: /tools/com-tttkmbb-calcgrid/convert-lunar-to-solar.md

What convert_lunar_to_solar does on Calcgrid

AI agents use convert_lunar_to_solar to create or update resources in Calcgrid, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Calcgrid environment.

ParameterTypeRequiredDescription
lunar_day integer Yes Day of the lunar month, 1–30 (day 30 exists only in 30-day months).
lunar_year integer Yes Lunar year number (the year that starts at that year's Chinese New Year), 1900–2100.
lunar_month integer Yes Lunar month number 1 (正月) to 12 (腊月).
is_leap_month boolean — true when the date is in the intercalary month of that number (only valid in years that have that leap month).

Parameters from the server's own tool schema.

Why convert_lunar_to_solar is rated Medium

An AI agent can call convert_lunar_to_solar faster than any human can review: one bad instruction and it creates or modifies resources in Calcgrid by the hundred, each call as confident as the last.

Questions about convert_lunar_to_solar

What does the convert_lunar_to_solar tool do? +

Use this when you know a lunar date such as 八月十五 or 闰六月初一 of a given lunar year and need the Gregorian date (e.g. for a lunar birthday or festival). Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you start from a Gregorian date (use lunar-calendar-converter), or you want every festival of a year at once (use chinese-festivals). What it computes: Converts a Chinese lunar calendar date (year, month, leap-month flag, day) to the Gregorian date, reporting the weekday, the day's ganzhi (干支) and the length of that lunar month, and validating that the leap month and day exist in that year. Example user requests: What Gregorian date is lunar 2026 month 8 day 15? | 2025 年农历闰六月初一对应公历哪一天? | Convert a Chinese lunar birthday to its Gregorian date and verify the leap-month flag. Inputs: lunar_year (integer); lunar_month (integer); is_leap_month (boolean, optional); lunar_day (integer). Complete JSON argument examples: {"lunar_year":2026,"lunar_month":8,"is_leap_month":false,"lunar_day":15} | {"lunar_year":2025,"lunar_month":6,"is_leap_month":true,"lunar_day":1} Outputs: gregorian_date, weekday, day_ganzhi, month_days, lunar_date_chinese, month_name, year_ganzhi, zodiac, julian_day_number, leap_month_note. Formula: JDN = start of the lunar month (new-moon day at UTC+8) + lunar_day − 1; month numbering per GB/T 33661-2017 (month 11 contains the winter solstice; leap month = first month without a 中气) Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/lunar-to-solar with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/lunar/lunar-to-solar.md. It is categorised as a Write tool in the Calcgrid MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does convert_lunar_to_solar accept? +

convert_lunar_to_solar accepts 4 parameters: lunar_day, lunar_year, lunar_month, is_leap_month. Required: lunar_day, lunar_year, lunar_month. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on convert_lunar_to_solar? +

Register the Calcgrid MCP server in PolicyLayer and add a rule for convert_lunar_to_solar: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Calcgrid. Nothing to install.

What risk level is convert_lunar_to_solar? +

convert_lunar_to_solar is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit convert_lunar_to_solar? +

Yes. Add a rate_limit block to the convert_lunar_to_solar rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block convert_lunar_to_solar completely? +

Set action: deny in the PolicyLayer policy for convert_lunar_to_solar. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides convert_lunar_to_solar? +

convert_lunar_to_solar is provided by the Calcgrid MCP server (https://tttkmbb.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Calcgrid, and thousands of servers like it.

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Calcgrid's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.