Skip to main content
Glama

get_daily_almanac

Retrieve deterministic Chinese Daily Almanac data for any Gregorian date, including lunar dates, stem-branch pillars, solar terms, duty officers, and traditional Yi/Ji activities.

Instructions

Get deterministic Chinese Daily Almanac (Huangli / Tong Shu) data for any Gregorian date: lunar date, stem-branch pillars, 24 Solar Terms, Twelve Duty Officers, and traditional Yi/Ji activities.

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": {
      "date": "<date>"
    },
    "name": "get_daily_almanac"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesGregorian date YYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It adds one useful trait, 'deterministic' (same input yields same output, no randomness), and lists what fields come back, but says nothing about timezone/calendar-boundary handling for lunar conversion, supported date ranges, or error behavior for invalid dates.

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?

One tight sentence, front-loaded with the verb and resource, followed by the concrete data domains. Every clause carries information; nothing is redundant or 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?

For a single-parameter deterministic lookup with no output schema, the description is largely sufficient: it names the aliases (Huangli/Tong Shu) and enumerates the return fields so the agent knows what it will get. The one meaningful gap is timezone/date-boundary handling, which materially affects lunar-date conversion.

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 coverage is 100% and the single parameter already documents the 'YYYY-MM-DD' Gregorian format with a regex pattern. The description's 'for any Gregorian date' reinforces the semantics but adds no format, range, or edge-case detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb ('Get') and a specific resource ('deterministic Chinese Daily Almanac (Huangli / Tong Shu) data'), then enumerates the returned domains: lunar date, stem-branch pillars, 24 Solar Terms, Twelve Duty Officers, Yi/Ji activities. That is enough to separate it from calculate_bazi_chart or calculate_ziwei_astrolabe, though it never explicitly contrasts itself with those siblings.

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 phrase 'for any Gregorian date' implies the calling context: a single-date lookup driven by a calendar date. However, there is no explicit when-to-use versus alternatives, no note that bazi/ziwei calculations belong to the sibling tools, and no statement of prerequisites or exclusions.

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