Skip to main content
Glama

AstroWay Divination and esoterica

Yearly Hexagram

astroway_iching_yearly
Read-onlyIdempotent

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)]

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": {
      "birthDate": "<birthDate>",
      "birthTime": "<birthTime>",
      "year": "<year>"
    },
    "name": "astroway_iching_yearly"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesThe year the reading is for, by its earthly branch.
fieldsNoComma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp".
birthDateYes
birthTimeYesBirth time; gives the hour term of the cast.
precisionNoRound numbers to this many decimals.
timezoneOffsetNoHours from UTC at the birthplace; places the lunar birth day. Defaults to 8.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds value beyond them by disclosing the return content (full Legge reading and ti/yong), the costing (10 credits, Tier 1), and the endpoint, all of which affect how an agent plans the call.

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?

The core sentence is front-loaded with the formula and the substitution rule, followed by the `basis: convention` disclaimer and the return summary. The bracketed metadata lines are compact and scannable, though the phrasing is somewhat dense and could be read twice.

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

Completeness3/5

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

With no output schema, the description does state what comes back (Legge reading, ti/yong), which is critical. However, for a 6-parameter computed tool it leaves the interaction between birthDate/birthTime/year and the returned hexagram structure only partially described, and the `fields` projection parameter is never mentioned.

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 description coverage is 83%, so the schema already explains year, birthTime, precision, timezoneOffset, and fields. The description supplements this by tying birthTime to the 'hour term of the cast' and clarifying that the year is taken by earthly branch, but it adds little about precision, fields, or timezoneOffset beyond what the schema states. Baseline 3 is appropriate.

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 states a specific resource (a yearly hexagram for a person) and how it is derived: the Mei Hua formula with the year's earthly branch substituted for the year of asking. It implicitly separates itself from question-based casting, though it never names a sibling tool. An agent knows what it computes but must infer alternatives from the catalog.

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 contrast between 'Mei Hua casts for a question' and 'this annual use is this API's convention' hints at when this tool is appropriate versus a question-based cast, but the guidance is framed as derivation rationale rather than selection advice. There is no explicit when-not or named alternative.

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.

Resources