Skip to main content
Glama

紫微斗数运限盘

ziwei_transits
Read-onlyIdempotent

在本命盘基础上计算 6 层运限: 大限 (10 年运, 含全部 13 段列表) / 小限 (1 年) / 流年 / 流月 / 流日 / 流时。每层返回该层命宫地支 + 四化 (化禄/化权/化科/化忌) + 双轨干支 (真实干支 vs 宫位编号)。不传 target* 则默认: 当前农历年月日 + 出生时辰。⚠️ 双轨干支铁律: 对外讲「X 日签约 / X 月运势」必用「真实干支」, 严禁用「宫位编号」当日子说。 (免费, 不需金钥)

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_transits"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
小限Yes
流年Yes
流日Yes
流时Yes
流月Yes
serviceYes
大限列表Yes
流运目标Yes
双轨干支提示Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / targetDay / description
      Previous value: -"流日目标农历日 (默认本命农历日)"New value: +"流日目标农历日 (默认当前农历日)"
    • changedInput schema / properties / targetMonth / description
      Previous value: -"流月目标农历月 (默认本命农历月)"New value: +"流月目标农历月 (默认当前农历月)"
    • changedInput schema / properties / targetYear / description
      Previous value: -"流年目标公历年 (默认当年)"New value: +"流年目标年 (默认当前农历年)"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "service": {
      +      "type": "string"
      +    },
      +    "双轨干支提示": {
      +      "type": "string"
      +    },
      +    "大限列表": {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "小限": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "流年": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "流日": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "流时": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "流月": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "流运目标": {
      +      "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 the safety profile (readOnly, idempotent, closed-world), so the bar is lower, yet the description still adds substantive behavior: the 6-layer return composition, the default time resolution, the no-key/free access note, and a semantic warning about 真实干支 vs 宫位编号 that cannot be derived from annotations or schema. The output schema exists but it does not encode the 双轨干支 interpretation rule, so this addition has real value.

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?

Front-loads the layer enumeration, then defaults, then the 双轨干支 rule, then the free/no-key note — a sensible priority order with no filler. The 铁律 warning is emphatic but it is the one non-obvious instruction that could cause real user-facing errors, so its length is justified.

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?

For a 14-parameter, domain-heavy tool with an output schema and full annotation coverage, the description supplies layers, defaults, cost, and the key interpretive pitfall. Minor gaps remain — nothing about range limits for 大限 across the 13 segments or how errors surface when required birth data is absent — but nothing an agent needs to invoke it correctly is missing.

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 all 14 parameters are already documented, including the target* defaults and the longitude/timezone 真太阳时 behavior. The description's only parameter-related statement (target* defaults) restates what the schema already declares, adding no new meaning. Correct baseline of 3 when the schema does the heavy lifting.

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?

States a specific verb (计算) and a precisely scoped resource (6 层运限 on top of 本命盘), enumerating each layer (大限/小限/流年/流月/流日/流时). The phrase 在本命盘基础上 cleanly separates it from ziwei_chart, which produces the natal chart itself, so an agent can route between them without opening either 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?

Conveys a prerequisite (must be built on the natal chart) and spells out the default fallback when target* params are omitted, which is genuine usage context. However, it never explicitly says when to pick this tool over ziwei_chart or ziwei_reading, so the routing decision is left to inference from the wording 在本命盘基础上.

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.