Skip to main content
Glama

Korean lunar calendar conversion (음력 ↔ 양력)

kr_lunar_convert
Read-onlyIdempotent

Convert between the Korean lunar calendar (음력) and the Gregorian calendar using the Korea Astronomy and Space Science Institute standard, with leap months (윤달) and 간지. Korean and Chinese lunar dates differ in some years (2027 Lunar New Year: Korea Feb 7, China Feb 6), so do not use a Chinese lunar library for Korean dates. For a lunar birthday or memorial day (제사) give lunar_month_day and years to get the solar date in each year. With no arguments it returns today's lunar date in Korea. Range: lunar 1000-01-01 to 2050-11-18.

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": "kr_lunar_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoYears for lunar_month_day (up to 30)
leap_monthNolunar_date is in a leap month (윤달). Default false.
lunar_dateNoLunar date YYYY-MM-DD to convert to Gregorian
solar_dateNoGregorian date YYYY-MM-DD to convert to lunar
lunar_month_dayNoLunar MM-DD repeated every year, e.g. 08-15; use with years

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered; the description goes further by disclosing the supported range (lunar 1000-01-01 to 2050-11-18), the leap-month (윤달) handling, the no-arg default behavior, and the data-source hazard that would produce wrong answers. These are operational constraints the annotations do not carry.

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?

Purpose is front-loaded in the first clause, followed by the differentiator, the common workflow, the default, and the range. Four dense sentences with no filler; even the China/Korea comparison earns its place because it prevents a specific plausible misuse.

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 5-parameter, zero-required conversion tool with no output schema, the definition covers valid input scope, defaults, leap-month semantics and the main use case. The only shortfall is that the response shape is not characterized (e.g., what a 간지 field looks like or what is returned for a years-array call), which the agent must discover from the call 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 coverage is 100%, so the baseline is 3, but the description adds cross-parameter semantics the schema cannot express: that lunar_month_day must be paired with years to produce a per-year solar date, and that a yearless call defaults to today. Remaining gap is that 간지 is mentioned only in passing without clarifying whether it is an output component or an input consideration.

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 specific bidirectional verb pair (음력 ↔ 양력) on a specific resource, names the authoritative standard (Korea Astronomy and Space Science Institute), and explicitly distinguishes it from a Chinese lunar implementation with a concrete divergence example (2027 Lunar New Year). An agent can identify exactly what this does and what it is not.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives an explicit when-to-use pattern for the multi-parameter mode ('for a lunar birthday or memorial day (제사) give lunar_month_day and years'), documents the no-argument default (today's lunar date in Korea), and includes a negative instruction not to substitute a Chinese lunar library. All three routing conditions an agent needs are present.

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.