Skip to main content
Glama

AstroWay Chinese metaphysics

Four Transformations (四化)

astroway_ziwei_four_transformations
Read-onlyIdempotent

The four stars activated by the birth year stem: 化禄 fortune, 化权 authority, 化科 repute, 化忌 obstruction. The one part of Zi Wei computable without star placement. Seven stems are agreed across traditions; for the three that are not (戊 庚 壬) every school reading ships in schoolVariants, and school switches the headline answer.

[Group: Zi Wei Dou Shu (Purple Star)] [Endpoint: POST /v1/ziwei/four-transformations] [Required: date] [Cost: 10 credits (Tier 1)]

Input Schema

NameRequiredDescriptionDefault
dateYes
timeNo
fieldsNoCompact mode: comma-separated dotted paths to keep, relative to `data`, e.g. "planets.name,planets.longitude,houses.cusp". Omit for the whole response.
schoolNo
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.
precisionNoCompact mode: round fractional numbers to this many decimals. Longitudes carry 14 by default; 2 is finer than any chart is drawn.
timezoneOffsetNoIgnored when timezone is sent.

Output Schema

NameRequiredDescriptionDefault
notesNo
schoolNo
disputedNo
yearStemNo
solarYearNo
schoolVariantsNo
transformationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, non-open-world, so the safety profile is covered. The description adds genuine behavioral context beyond that: that seven stems are tradition-invariant, that three vary, that every variant ships in `schoolVariants`, and that `school` swaps the headline answer. This discloses output-shaping behavior an agent would otherwise not know.

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 is two front-loaded sentences that define the tool before the caveats, with no wasted prose. The trailing metadata block (group/endpoint/required/cost) is boilerplate but compact and useful for the required param and cost.

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?

An output schema exists, so return values need not be spelled out. For a 7-param tool with one required field, the description supplies the conceptual model and the school-variant behavior. It is adequate, though it says nothing about the time/precision/tz params that could matter for date resolution.

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 57% across 7 params. The description gives real meaning to `school` (it switches the headline answer and co-exists with schoolVariants), which the bare enum does not. The other params (time, fields, precision, timezone, timezoneOffset) are left entirely to the schema. Baseline 3 fits.

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 names a specific resource (the four transformations 四化), defines each of the four stars (化禄/化权/化科/化忌), and carves out its niche versus the star-placement siblings by stating it is 'the one part of Zi Wei computable without star placement'. An agent can tell what it returns and how it differs from ziwei_main_stars or ziwei_full_chart.

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?

It explains the school-dependent behavior and that seven stems are agreed while three (戊 庚 壬) vary, which implies when `school` matters, but it never states when to call this versus an alternative tool or any prerequisite beyond the required `date`. Usage is inferable but not routed explicitly.

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