Skip to main content
Glama

cn402_bazi_sizhu

Calculate the Four Pillars of Destiny (BaZi) from a Western birth datetime to obtain the year, month, day, and hour heavenly stems and earthly branches for Chinese astrology analysis.

Instructions

BaZi Four Pillars / 八字四柱 / Chinese astrology birth chart / 生辰八字 / heavenly stems earthly branches / 天干地支 / year-month-day-hour pillars / Chinese natal chart / Ba Zi calculator / Day Master / 日主. Compute Four Pillars of Destiny (year/month/day/hour gan-zhi) from any Western birth datetime. Foundation of Chinese astrology analysis.

Price: unknown on Base (auto-paid in USDC).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datetimeYesBirth datetime YYYY-MM-DD HH:MM (required)
genderNoM | F (optional)
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It does not mention side effects, permissions, rate limits, or output format. The tool computes pillars from datetime, but no details on edge cases or constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description contains multiple synonyms and redundant phrases, and includes irrelevant pricing information. However, the core functionality is front-loaded in a single sentence. Acceptable but not concise.

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

Completeness2/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 should explain what the tool returns. It fails to do so, leaving the agent uncertain. Sibling tools like cn402_bazi_full suggest this tool's scope is limited, but the description does not clarify.

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 100%, and the description adds no additional meaning beyond the schema. The optional gender parameter's role in Four Pillars calculation is not clarified. Baseline 3 is appropriate.

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 explicitly states 'Compute Four Pillars of Destiny (year/month/day/hour gan-zhi) from any Western birth datetime,' providing a specific verb and resource. It includes synonyms for clarity and distinguishes itself from sibling tools like cn402_bazi_full by focusing on the 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus alternatives among many sibling bazi tools. The phrase 'Foundation of Chinese astrology analysis' implies it is basic, but lacks clear when-to-use or when-not-to-use instructions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/x402node/x402-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server