Skip to main content
Glama

Qimen Dunjia & BaZi Charts

八字排盘 · BaZi (Four Pillars) Chart

bazi_chart

Cast a BaZi (Four Pillars) natal chart. Deterministic engine (solar-term month pillar, Five-Rats hour rule, true-solar-time ready). Returns pillars with hidden stems and Ten Gods, day master strength evidence chain, geju pattern with grade, favorable/unfavorable elements, current luck cycle. FREE — no quota consumed. 中文/English via lang.

Input Schema

NameRequiredDescriptionDefault
langNoOutput language. Default zh.
genderNoDetermines luck-cycle direction. Default male.
birthDateYesBirth date, YYYY-MM-DD (solar calendar)
birthTimeYesBirth time, HH:MM (24h). Late Zi (23:00-23:59) uses next-day school.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares the engine is deterministic, names what the response contains, and discloses the cost profile ('FREE — no quota consumed'). It does not cover failure behavior (invalid dates, unknown birth time) or whether 'true-solar-time ready' requires a location parameter that the schema does not offer, leaving a small gap.

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?

Roughly four dense clauses ordered purpose → engine → returns → cost → language, with the core purpose front-loaded. No filler sentences and no repetition of the tool name.

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 the description's enumerated return contents (pillars, hidden stems, Ten Gods, strength evidence, geju grade, favorable elements, luck cycle) are necessary and present. What is missing is edge-case handling and clarification of the location-free 'true-solar-time ready' claim, but for a deterministic chart tool the description is largely sufficient.

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%, so the schema already documents all four parameters including defaults and the late-Zi handling. The description only echoes '中文/English via lang' and the vague 'true-solar-time ready', adding essentially nothing the schema does not already state – baseline 3 applies.

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?

Specific verb and resource ('Cast a BaZi (Four Pillars) natal chart') plus concrete mechanism details (solar-term month pillar, Five-Rats hour rule, day master strength chain, geju pattern). It never mentions the sibling qimen_pan, so the distinction relies on the reader knowing these are different divination systems, which keeps it from a 5.

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?

Usage is implied by the artifact produced – you call it when you need a natal chart – and 'FREE — no quota consumed' gives a mild incentive to prefer it. There is no explicit when-to-use versus qimen_pan, no when-not, and no statement of prerequisites such as needing an accurate birth time.

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.