Skip to main content
Glama
whaizaixiang

知耘排盘 MCP Server

by whaizaixiang

四柱排盘(按干支)

bazi_from_pillars

Infers possible birth dates from given Four Pillars (year, month, day, hour) and returns complete BaZi chart data, including multiple candidate results.

Instructions

用户直接给出四柱干支(如「甲子年丙寅月戊辰日壬子时」)时调用。已知年柱月柱日柱时柱,反推可能的出生日期并返回完整排盘数据,支持多候选结果。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
genderNo性别,默认 male
day_pillarYes日柱干支,如 戊辰
hour_pillarYes时柱干支,如 壬子
range_yearsNo往前搜索年数,默认 120
year_pillarYes年柱干支,如 甲子
month_pillarYes月柱干支,如 丙寅
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that the tool reverses the pillars to find possible birth dates and supports multiple candidate results, which is key behavioral context beyond simple mapping. It doesn't cover edge cases or error handling, but for a calculation tool this is acceptable.

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?

Two concise sentences. The first sentence states the trigger condition, the second describes the behavior and output. No wasted words; the example is compact and illustrative.

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?

The tool has moderate complexity (reverse lookup with multiple candidates) and no output schema. The description explains the core outcome (complete chart data, multiple candidates) but doesn't specify the output structure or how many candidates to expect. Still, it's adequate for an AI agent to understand when and why to use it.

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%, so the schema already documents each parameter. The description adds an example format (甲子年丙寅月戊辰日壬子时) but doesn't clarify how it maps to the separate pillar parameters beyond that. Since the schema does the heavy lifting, the description only marginally enhances parameter understanding.

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?

Description clearly states the tool is called when the user provides the four pillars directly, and uses the specific verb '反推' (reverse-engineer) to explain it infers possible birth dates and returns complete chart data. This distinguishes it from sibling tools like bazi_paipan, which presumably takes a birth date/time.

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?

The description explicitly starts with the condition '用户直接给出四柱干支...时调用' (call when the user directly provides the four pillars), giving clear when-to-use guidance. However, it does not explicitly name alternatives or state when not to use it, leaving the exclusion implicit rather than explicit.

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