Skip to main content
Glama
astroway-mcp

astroway-mcp

Official
by astroway

Yearly Hexagram

astroway_iching_yearly
Read-onlyIdempotent

Generates an annual I Ching hexagram for a person using birth date, birth time, and the target year's earthly branch, returning the full Legge reading and ti/yong.

Instructions

A hexagram for a person and a year: the Mei Hua formula with the earthly branch of the year asked about in place of the year of asking and the lunar month, day and hour of birth. Labelled basis: convention: Mei Hua casts for a question, and this annual use is this API's convention. Returns the full Legge reading and ti/yong.

[Group: I Ching (Standalone)] [Endpoint: POST /v1/iching/yearly] [Required: birthDate, birthTime, year] [Cost: 10 credits (Tier 1)]

Input Schema

NameRequiredDescriptionDefault
yearYesThe year the reading is for, by its earthly branch.
birthDateYes
birthTimeYesBirth time; gives the hour term of the cast.
timezoneOffsetNoHours from UTC at the birthplace; places the lunar birth day. Defaults to 8.

Output Schema

NameRequiredDescriptionDefault
yearNo
basisNo
focusNo
linesNo
termsNo
methodNo
sourceNo
tiYongNo
primaryNo
birthDateNo
resultingNo
lunarBirthNo
yearBranchNo
meiHuaSourceNo
changingLinesNo
readingRuleSourceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this a read-only, idempotent, non-destructive computation, so the safety profile is covered. The description adds genuinely non-obvious context: the formula is a documented deviation from standard Mei Hua practice, explicitly labelled `basis: convention`, and it states the return includes the full Legge reading and ti/yong. The credit cost and endpoint are also disclosed.

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?

The purpose and the method caveat come first, followed by the return contents and a compact bracketed block for group, endpoint, required fields and cost. Every sentence carries information and nothing is repeated from the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need not be explained, yet the description still signals the Legge reading and ti/yong. Required inputs, cost tier and the non-standard-formula caveat are all disclosed, so an agent has everything needed to call this correctly and interpret the result honestly.

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 75%, so the schema does much of the work, but the description adds real meaning: the year is consumed by its earthly branch, and birth date/time supply the lunar month, day and hour terms of the cast. Only timezoneOffset goes unaddressed in the description, which keeps this short of a 5.

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?

The description names a specific resource (a yearly hexagram for a person) and specifies the derivation method: the Mei Hua formula using the year's earthly branch in place of the question-time year. It implicitly separates itself from question-based casting siblings by noting 'Mei Hua casts for a question, and this annual use is this API's convention,' though it does not name the alternative tools directly.

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

Usage Guidelines4/5

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

It establishes the usage context clearly: an annual reading for a specific person and year rather than a question-driven cast. It does not explicitly say when to prefer a sibling such as a by-question or plum-blossom tool, but the contrast with question casting gives an agent enough to route correctly.

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

Deploy Server

Other Tools