Skip to main content
Glama

Read the Chinese almanac

get_almanac
Read-onlyIdempotent

Read the Chinese almanac (通勝, 黃曆) for 1 to 31 consecutive days: lunar date, year, month and day pillars, any solar term with its local time, the activities listed as suitable (宜) and to avoid (忌) with English glosses, the day's clash, the twelve officers, the day god and the auspicious double hours. No birth data needed.

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

Input Schema

NameRequiredDescriptionDefault
daysNoNumber of consecutive days, 1 to 31.
localeNozh-Hant
timezoneNoIANA zone used for 'today' and for the local time of any solar term.Asia/Hong_Kong
start_dateNoFirst day, YYYY-MM-DD. Defaults to today in timezone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real value by disclosing what is returned field-by-field — useful since no output schema exists — and noting that solar terms carry local time and 宜/忌 entries carry English glosses. It does not mention volume or formatting of the response, but the 31-day cap bounds it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence identifying the resource, followed by a compact enumeration of the returned data and a differentiator. Dense but essentially every clause carries information an agent needs; only the long comma-list slightly reduces scanability.

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 four optional parameters, no output schema and a 75% schema coverage, the description does the heavy lifting by fully describing the return payload. Defaults (today, Asia/Hong_Kong, 1 day) are in the schema, so the only real gap is the meaning/effect of the locale option.

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 75%, with days, timezone and start_date documented in the schema itself. The description reinforces the 1-to-31 consecutive-day scope and the local-time semantics of solar terms, but says nothing about the 'locale' parameter (zh-Hant vs en), whose schema entry has no description — leaving the language switch only loosely implied by 'English glosses'.

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 verb and resource ('Read the Chinese almanac (通勝, 黃曆)') and enumerates the exact contents returned (lunar date, pillars, solar terms, 宜/忌 activities, clash, twelve officers, day god, double hours). The closing 'No birth data needed' separates it from the chart-casting siblings that require birth data.

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?

'No birth data needed' implicitly routes the agent away from bazi/ziwei tools, and the 1-to-31-day window defines scope. However, no alternative is named explicitly (e.g., find_auspicious_days for picking dates), and there is no statement of when-not to use it.

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.