Skip to main content
Glama
xlw-pro

chinese-astrology-skill

by xlw-pro

getBaziChart

Calculate a complete BaZi (Four Pillars of Destiny) chart from solar or lunar birth datetime and gender. Returns the eight characters, Five Elements, Ten Gods, Hidden Stems, and Decade Fortune.

Instructions

Calculate a complete BaZi (Four Pillars of Destiny) chart from birth datetime. Returns the eight characters, Five Elements, Ten Gods, Hidden Stems, Decade Fortune, and more. 根据出生时间计算完整八字命盘。

Input Schema

NameRequiredDescriptionDefault
genderYes0 = female, 1 = male. 0=女,1=男。
lunarDatetimeNoLunar birth datetime, e.g. "2000-5-5 12:00:00". 农历出生时间。
solarDatetimeNoBirth datetime in ISO format, e.g. "2000-01-15T12:00:00+08:00". 公历出生时间。
eightCharProviderSectNoLate Zi hour config. 1 = next day, 2 = same day (default). 早晚子时:1=明天,2=当天。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It frames the tool as a computation and lists what is returned, which conveys read-only, non-mutating behavior, but says nothing about permission needs, latency, or whether historical/future dates are restricted or error out.

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?

Front-loaded: the verb and resource come first, the output enumeration second. The bilingual duplication of the same sentence adds length without new information, but there is no filler beyond that.

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?

There is no output schema, so listing the returned fields (Ten Gods, Hidden Stems, Decade Fortune) is genuinely useful compensation and tells the agent what to surface. The remaining gap is input-side: it never clarifies which datetime field to supply or why gender is required.

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 100% and every parameter carries its own bilingual description, so the schema does the heavy lifting. The description adds no extra meaning — it does not explain the required gender field, the lunar-vs-solar choice, or the eightCharProviderSect default.

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?

States a specific verb and resource ('Calculate a complete BaZi chart') and enumerates the outputs (eight characters, Five Elements, Ten Gods, Hidden Stems, Decade Fortune). Nothing about it overlaps with findBirthDates, getAlmanac, or calculateBoneWeight, so an agent can discriminate it without opening the schema.

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 phrase 'from birth datetime' implies the input context but never states when to prefer this over the sibling fortune/almanac tools, nor how to choose between lunarDatetime and solarDatetime — a central decision for this tool. Usage is only inferable, not stated.

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