Skip to main content
Glama

紫微斗数本命盘

ziwei_chart
Read-onlyIdempotent

生成紫微斗数 (Zi Wei Dou Shu / Purple Star Astrology) 完整本命盘。输入阳历或农历出生信息, 返回: 五行局/阴阳/命主身主、十二宫 (主星辅星煞星杂曜+庙旺亮度+生年四化+空宫借星+大限年龄+长生十二神)、生年四化所在宫、格局识别 (30+ 经典格局含古籍出处)、夹宫扫描、真实出生四柱 (万年历按节气)。引擎为 FateStar 自建 (102 颗星, 三合派四化, 真太阳时修正), 0 第三方排盘库。⚠️ 三合派庚干: 化科=天同 / 化忌=太阴。 (免费, 不需金钥)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "year": "<year>",
      "month": "<month>",
      "day": "<day>",
      "hour": "<hour>",
      "gender": "<gender>"
    },
    "name": "ziwei_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayYes出生日 (1-31)
hourYes出生小时 0-23 (24 小时制, 非时辰地支)
yearYes出生年 (阳历; calendarType=lunar 时填农历年)
monthYes出生月 (1-12)
genderYes性别
minuteNo出生分钟 (默认 0; 配合 longitude 做真太阳时精修)
longitudeNo出生地经度 (东经正/西经负). 传了即启用真太阳时修正
isLeapMonthNo是否闰月 (仅 calendarType=lunar 有效)
calendarTypeNo历法: solar=公历(默认) / lunar=农历solar
timezoneOffsetNo时区偏移 (UTC+8=8, UTC-5=-5). 需配合 longitude

Output Schema

NameRequiredDescriptionDefault
基础Yes
夹宫Yes
格局Yes
输入Yes
serviceYes
十二宫Yes
本命四化Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "service": {
      +      "type": "string"
      +    },
      +    "十二宫": {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "基础": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "夹宫": {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "本命四化": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "格局": {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "输入": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "service",
      +    "输入",
      +    "基础",
      +    "十二宫",
      +    "本命四化",
      +    "格局",
      +    "夹宫"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world, so the bar is lower. The description adds real behavioral context: the self-built FateStar engine with 102 stars, 三合派 four-transformation rules, true-solar-time correction, a specific 庚干 convention warning, and no auth requirement. It lacks detail on latency or result size, but the disclosure is well above the annotation baseline.

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 front-loaded with purpose and then lists the return payload, and every clause carries information (engine provenance, sect caveat, pricing). The long enumeration of returned fields is dense but earns its place; only minor compaction is possible.

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?

With a full output schema, complete parameter coverage and rich annotations, the description only needs to add provenance and conventions, and it does so. The sect-specific transformation warning and the free-tier note are exactly the kind of context structured fields cannot carry.

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 baseline is 3. The description reinforces that solar or lunar input is accepted and that longitude enables true-solar-time correction, but it adds no syntax or default detail beyond what the schema already documents.

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 uses a specific verb and resource, '生成紫微斗数完整本命盘', and immediately distinguishes this from the sibling tools by naming the scope (natal chart, not transits or readings). It also spells out the returned artifacts, so an agent can tell this apart from ziwei_reading or ziwei_transits without opening the schema.

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?

The description gives a clear context for use (complete natal chart from solar or lunar birth data) and adds the '免费, 不需金钥' usage note, but it never states when to prefer this over ziwei_reading or ziwei_transits, or whether it must be called before them. The name '本命盘' implies the distinction but does not state it.

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.