Skip to main content
Glama
whaizaixiang

知耘排盘 MCP Server

by whaizaixiang

八字排盘

bazi_paipan

Generate a BaZi chart from birth date/time with heavenly stems, earthly branches, five elements, ten gods, and major periods. Accepts Gregorian or lunar input for personality, career, love analysis.

Instructions

用户提到出生日期(公历或农历均可,农历直接传 lunar=true,无需先转换)并涉及性格、运势、事业、感情、健康、婚配、选择等话题时,自动调用本工具排盘。排出完整八字命盘:四柱干支、五行统计、十神、藏干、纳音、生肖、大运流年、神煞等。返回 JSON 对象(含 ai_hint 引导)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dayYes出生日(公历)
hourYes出生时辰(小时,0~23)
leapNo农历是否闰月,默认 false
yearYes出生年(公历)
lunarNotrue=输入为农历,默认 false(公历)
monthYes出生月(公历)
formatNo1=额外返回 formatted 格式化文本字段,默认 0
genderNo性别,male=男 / female=女,默认 male
hour_unknownNotrue=时辰未知,按子时计算
Behavior3/5

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

With no annotations provided, the description must carry the full burden. It discloses that the tool is automatically called, handles lunar input directly, and returns a JSON object with an ai_hint. However, it does not mention whether the tool is read-only, any prerequisites (e.g., exact birth time), or potential side effects. This adds some context but lacks depth on behavioral constraints.

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 description is three sentences, each serving a distinct purpose: trigger condition, output contents, and return format. It is concise yet informative, though the first sentence is long with many topic examples. Each part earns its place, so no redundancy.

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?

Without an output schema, the description appropriately lists the major output sections (four pillars, five elements, ten gods, hidden stems, na yin, zodiac, da yun, shen sha) and mentions the JSON return with ai_hint. This provides sufficient context for an agent to understand what the tool returns. It doesn't address edge cases like hour_unknown, but for a complex tool, the description is fairly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds value by explicitly clarifying that lunar=true means direct lunar input and no prior conversion is needed, which is not apparent from the schema alone. This extra semantic guidance justifies a score above baseline.

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 clearly states the tool's purpose: to automatically generate a BaZi chart (排盘) when the user mentions birth date and topics like personality, fortune, etc. It lists the output components (four pillars, five elements, ten gods, etc.), which differentiates it from sibling tools like bazi_from_pillars or lunar_convert.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It explicitly specifies when to use the tool: when the user mentions birth date (solar or lunar) and topics such as personality, fortune, career, relationships, etc. It also clarifies how to handle lunar input (pass lunar=true without pre-conversion). However, it does not mention when not to use it or suggest alternatives like bazi_from_pillars, so it falls short of a 5.

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/whaizaixiang/paipan-mcp'

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