Skip to main content
Glama

知己排盘 BaZi

bazi_compute

知己排盘引擎:输入出生时间(公历/农历/直接给四柱),返回完整八字排盘 JSON(四柱、十神、藏干、大运、旺衰、格局、调候等)。只做计算,不含解读文案、不做预测;转述结果时给结构不给吉凶断语,并说明身强弱与格局各流派口径不同。Compute a full BaZi (Four Pillars) chart from a birth datetime. Returns structured data only, no predictions or readings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
isMaleNo性别(男=true),影响大运顺逆
timeZoneNoIANA 时区,默认 Asia/Shanghai
birthCityNo出生城市(可选,展示用)
inputModeYessolar=公历(填 gregorianLocal);lunar=农历(填 lunarInput);pillar=直接四柱(填 pillarInput)
longitudeNo出生地经度,配合 useTrueSolarTime
zishiRuleNo晚子时日柱归属规则,默认 sameDay
lunarInputNo
pillarInputNo干支各两字,如 {year:'甲子',month:'丙寅',day:'戊辰',hour:'壬子'}
gregorianLocalNo公历本地时间,格式 YYYY-MM-DDTHH:mm:ss(inputMode=solar 必填)
useTrueSolarTimeNo是否按真太阳时排盘,默认 false

TDQS

A4.2/5.0
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 of behavioral disclosure. It explicitly states the output structure (four pillars, ten gods, hidden stems, luck cycles, strength, patterns, etc.), limits its scope to calculations only, and provides guidance on communicating results (no fortune-telling, note school-of-thought differences). This goes well beyond a minimal description.

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?

The description is concise and front-loaded with the primary purpose, followed by a single sentence outlining limitations and usage guidance. Every sentence earns its place, with no redundant or irrelevant content.

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?

Given the tool's complexity (10 parameters, nested objects, no output schema), the description provides a solid overview of the output components and clearly scopes the tool's behavior. It does not detail every parameter interaction, but it covers the essential context needed for an agent to understand the tool's capabilities and constraints.

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 high (90%), so the baseline is 3. The description mentions input modes (solar/lunar/pillars) which map to the inputMode parameter, but does not add meaningful detail about individual parameters beyond what the schema already provides. No extra parameter-level semantics are introduced.

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 function with specific verbs ('compute', 'returns') and a resource ('full BaZi chart from birth datetime'). It lists the input modes (solar, lunar, pillars) and explicitly distinguishes itself from prediction tools by stating it does no predictions or readings, which addresses sibling differentiation.

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 provides clear context for when to use the tool (compute a BaZi chart) and an exclusion ('no predictions or readings'), implying when not to use it. However, it does not explicitly name alternative tools or provide detailed use-case scenarios beyond its core scope.

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.

TDQS

A4.4/5.0
Disambiguation5/5

There is only one tool, so there is no possibility of confusion between overlapping tools. The tool's purpose is clearly defined and distinct.

Naming Consistency5/5

The tool name 'bazi_compute' follows a clear snake_case verb_noun pattern, which is predictable and descriptive. Even with a single tool, the naming is consistent with conventional patterns.

Tool Count4/5

The server has only one tool, which is below the typical 3-15 range, but it is appropriate for the narrow, specialized domain of BaZi computation. The tool is comprehensive and not trivial, making the under-count reasonable.

Completeness5/5

The tool covers the full BaZi computation surface: accepts multiple input formats (Gregorian, lunar, or direct four pillars) and returns all major chart components (four pillars, ten gods, hidden stems, da yun, etc.). The deliberate exclusion of interpretations/predictions is clearly stated and aligns with the purpose of a computation engine.