Skip to main content
Glama
astroway

astroway-mcp

Official
by astroway

Four Pillars (full)

astroway_bazi_four_pillars
Read-onlyIdempotent

Computes the BaZi four pillars (year, month, day, hour) from a birth date, using the 60-jiazi cycle and exact Lichun, solar-term and 23:00 day/hour rollover boundaries.

Instructions

All four pillars: year, month, day, hour. Day pillar uses the canonical 60-jiazi cycle (anchor 1990-01-01 = Bing-Yin). Pass time to compute the hour pillar; day and hour roll at 23:00 local, year and month at the exact Lichun and 節 instants.

[Group: BaZi (Four Pillars)] [Endpoint: POST /v1/bazi/four-pillars] [Required: date] [Cost: 10 credits (Tier 1)]

Input Schema

NameRequiredDescriptionDefault
dateYes
timeNo
languageNo
timezoneNoIANA zone name such as Europe/Kyiv, or auto to look the zone up from latitude and longitude. The server takes the offset that zone kept at this local date and time, summer time included, and uses it in place of timezoneOffset. A clock time that happened twice takes the first occurrence; one skipped when clocks went forward takes the offset from before the change. Abbreviations such as EST are refused. Before 1970 the tz database is not reliable for every place, so send timezoneOffset when the local clock is known.
timezoneOffsetNoIgnored when timezone is sent.

Output Schema

NameRequiredDescriptionDefault
notesNo
dayPillarNo
solarYearNo
disclaimerNo
hourPillarNo
yearPillarNo
monthPillarNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish the safe, idempotent, deterministic read profile, and the description goes beyond them with substantive computation semantics: the 60-jiazi anchor (1990-01-01 = Bing-Yin), 23:00 local rollover for day/hour, and exact Lichun and 節 instants for year/month. These boundary rules are exactly the kind of detail an agent needs and cannot get from annotations.

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?

Two front-loaded sentences carry the substance, followed by a compact metadata block (group, endpoint, required, cost). Every line is informative, though the endpoint and group lines are largely boilerplate for an agent that already has the tool name.

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?

An output schema exists so return values need no explanation, and annotations cover the safety profile. The description supplies the ambiguous edge cases (hour pillar optionality, day/hour vs year/month rollover instants, jiazi anchoring), leaving nothing critical for a correct call beyond the undocumented `language` parameter.

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 only 40%, and the description compensates partially by explaining the role of `time` and implying local-clock semantics for timezone. However, `language` and `date` have no description anywhere, and `timezoneOffset` is only defined by the schema, so the low-coverage gap is not fully closed.

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 it returns all four pillars (year, month, day, hour), which is a specific resource and clearly the 'full set' counterpart to the single-pillar siblings like astroway_bazi_year_pillar and astroway_bazi_hour_pillar. It never explicitly names those alternatives, so the differentiation only works by implication from 'All four pillars'.

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 one real usage instruction is 'Pass `time` to compute the hour pillar', which tells the agent when the hour pillar becomes available. There is no statement of when to choose this tool over astroway_bazi_chart or the individual pillar tools, so routing is left to inference.

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