Skip to main content
Glama

Liki — Professional AI Astrologer

bazi_yongshen

Read-onlyIdempotent

schema 合法的已归一化出生主体 → 确定性唯一用神裁决。subject 可由用户明确事实组装,也可取自用户确认后的 subject_candidates;时间模糊或多候选时先归一化并确认。返回 status、selected_yongshen、conflicts、命中规则、格局上下文与裁决证据;conflicts 非空或 status 需复核时不静默改选。只要原始八字盘时用 bazi_chart;起名只消费 selected_yongshen.yong。

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": {
      "subject": "<subject>"
    },
    "name": "bazi_yongshen"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectYes已考时归一化的出生主体。

Output Schema

NameRequiredDescriptionDefault
statusYes裁决状态;下游仅消费 resolved 或 partial。
rule_idYesMatched rule identifier.
evidenceYes按来源标记的裁决证据。
conflictsYes用神裁决冲突;无冲突为空。
policy_idYesYongshen policy identifier.
ge_ju_contextYes用神裁决关联的格局上下文。
selected_yongshenYesThe only selected yong/xi/ji result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / evidence / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Engine facts evidence record.",
      -    "properties": {
      -      "day_master_element": {
      -        "$ref": "#/$defs/Enum_c97a3d8aae12",
      -        "description": "日主五行。"
      -      },
      -      "day_master_stem": {
      -        "description": "日主天干。",
      -        "enum": [
      -          "甲",
      -          "乙",
      -          "丙",
      -          "丁",
      -          "戊",
      -          "己",
      -          "庚",
      -          "辛",
      -          "壬",
      -          "癸"
      -        ],
      -        "type": "string"
      -      },
      -      "month_zhi": {
      -        "description": "月支。",
      -        "enum": [
      -          "子",
      -          "丑",
      -          "寅",
      -          "卯",
      -          "辰",
      -          "巳",
      -          "午",
      -          "未",
      -          "申",
      -          "酉",
      -          "戌",
      -          "亥"
      -        ],
      -        "type": "string"
      -      },
      -      "season_is_extreme": {
      -        "description": "季节是否极端。",
      -        "type": "boolean"
      -      },
      -      "source": {
      -        "const": "facts",
      -        "description": "证据来源。",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "month_zhi",
      -      "day_master_stem",
      -      "day_master_element",
      -      "season_is_extreme"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "扶抑 evidence record.",
      -    "properties": {
      -      "ji": {
      -        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      -        "description": "扶抑候选忌神;缺省为 无候选。"
      -      },
      -      "pattern": {
      -        "description": "扶抑结构模式。",
      -        "type": "string"
      -      },
      -      "qiang_ruo": {
      -        "description": "身强弱。",
      -        "type": "string"
      -      },
      -      "ri_gan_gen": {
      -        "description": "通根类型。",
      -        "type": "string"
      -      },
      -      "season": {
      -        "description": "季节状态。",
      -        "type": "string"
      -      },
      -      "source": {
      -        "const": "fu_yi",
      -        "description": "证据来源。",
      -        "type": "string"
      -      },
      -      "xi": {
      -        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      -        "description": "扶抑候选喜神;缺省为 无候选。"
      -      },
      -      "yin_bi_shu_liang": {
      -        "description": "印比数量。",
      -        "type": "integer"
      -      },
      -      "yong": {
      -        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      -        "description": "扶抑候选用神;缺省为 无候选。"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "qiang_ruo",
      -      "pattern",
      -      "ri_gan_gen",
      -      "season",
      -      "yin_bi_shu_liang",
      -      "yong",
      -      "xi",
      -      "ji"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "调候 evidence record.",
      -    "properties": {
      -      "condition_ok": {
      -        "description": "辅调候条件是否满足。",
      -        "type": "boolean"
      -      },
      -      "control_wuxing": {
      -        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      -        "description": "调候控制五行。"
      -      },
      -      "primary_present": {
      -        "description": "主调候是否出现。",
      -        "type": "boolean"
      -      },
      -      "primary_visible": {
      -        "description": "主调候是否可见。",
      -        "type": "boolean"
      -      },
      -      "primary_wuxing": {
      -        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      -        "description": "主调候五行。"
      -      },
      -      "secondary_condition": {
      -        "description": "辅调候条件。",
      -        "type": "string"
      -      },
      -      "secondary_present": {
      -        "description": "辅调候是否出现。",
      -        "type": "boolean"
      -      },
      -      "secondary_usable": {
      -        "description": "辅调候是否可用。",
      -        "type": "boolean"
      -      },
      -      "secondary_visible": {
      -        "description": "辅调候是否可见。",
      -        "type": "boolean"
      -      },
      -      "secondary_wuxing": {
      -        "description": "辅调候五行;缺失时为 无辅调候。",
      -        "enum": [
      -          "木",
      -          "火",
      -          "土",
      -          "金",
      -          "水",
      -          "无辅调候"
      -        ],
      -        "type": "string"
      -      },
      -      "source": {
      -        "const": "tiao_hou",
      -        "description": "证据来源。",
      -        "type": "string"
      -      },
      -      "yong": {
      -        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      -        "description": "调候用神。"
      -      },
      -      "yong_present": {
      -        "description": "调候用神是否出现。",
      -        "type": "boolean"
      -      },
      -      "yong_source": {
      -        "description": "调候用神来源。",
      -        "type": "string"
      -      },
      -      "yong_visible": {
      -        "description": "调候用神是否可见。",
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "primary_wuxing",
      -      "secondary_wuxing",
      -      "secondary_condition",
      -      "condition_ok",
      -      "secondary_usable",
      -      "primary_present",
      -      "primary_visible",
      -      "secondary_present",
      -      "secondary_visible",
      -      "yong",
      -      "yong_source",
      -      "yong_present",
      -      "yong_visible",
      -      "control_wuxing"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "格局 evidence record.",
      -    "properties": {
      -      "is_clear": {
      -        "description": "格局是否清纯。",
      -        "type": "boolean"
      -      },
      -      "pattern": {
      -        "description": "格局名称。",
      -        "type": "string"
      -      },
      -      "pattern_god_source": {
      -        "description": "格神取用来源。",
      -        "type": "string"
      -      },
      -      "pattern_god_ten_god": {
      -        "$ref": "#/$defs/Enum_99836a85f2ed",
      -        "description": "格神十神;无格神为 无格神。"
      -      },
      -      "source": {
      -        "const": "ge_ju",
      -        "description": "证据来源。",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "pattern",
      -      "pattern_god_ten_god",
      -      "pattern_god_source",
      -      "is_clear"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "从格复核 evidence record.",
      -    "properties": {
      -      "bi_jie_rooted_count": {
      -        "description": "有根比劫数量;任一有根比劫即破从弱。",
      -        "type": "integer"
      -      },
      -      "cai_effective_count": {
      -        "description": "有效财星数量:透干,或通根且力量强。",
      -        "type": "integer"
      -      },
      -      "guan_sha_effective_count": {
      -        "description": "有效官杀数量:透干,或通根且力量强。",
      -        "type": "integer"
      -      },
      -      "is_fake_candidate": {
      -        "description": "是否为假从格候选。",
      -        "type": "boolean"
      -      },
      -      "is_verified": {
      -        "description": "从格双证是否通过。",
      -        "type": "boolean"
      -      },
      -      "pattern": {
      -        "description": "从格候选标签。",
      -        "type": "string"
      -      },
      -      "shi_shang_effective_count": {
      -        "description": "有效食伤数量:透干,或通根且力量强。",
      -        "type": "integer"
      -      },
      -      "source": {
      -        "const": "cong_ge",
      -        "description": "证据来源。",
      -        "type": "string"
      -      },
      -      "yin_rooted_count": {
      -        "description": "有根印星数量;任一有根印星即破从弱。",
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "pattern",
      -      "is_verified",
      -      "is_fake_candidate",
      -      "guan_sha_effective_count",
      -      "cai_effective_count",
      -      "shi_shang_effective_count",
      -      "yin_rooted_count",
      -      "bi_jie_rooted_count"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "MingliGo facts evidence record.",
      +    "properties": {
      +      "day_master_element": {
      +        "$ref": "#/$defs/Enum_c97a3d8aae12",
      +        "description": "日主五行。"
      +      },
      +      "day_master_stem": {
      +        "description": "日主天干。",
      +        "enum": [
      +          "甲",
      +          "乙",
      +          "丙",
      +          "丁",
      +          "戊",
      +          "己",
      +          "庚",
      +          "辛",
      +          "壬",
      +          "癸"
      +        ],
      +        "type": "string"
      +      },
      +      "month_zhi": {
      +        "description": "月支。",
      +        "enum": [
      +          "子",
      +          "丑",
      +          "寅",
      +          "卯",
      +          "辰",
      +          "巳",
      +          "午",
      +          "未",
      +          "申",
      +          "酉",
      +          "戌",
      +          "亥"
      +        ],
      +        "type": "string"
      +      },
      +      "season_is_extreme": {
      +        "description": "季节是否极端。",
      +        "type": "boolean"
      +      },
      +      "source": {
      +        "const": "facts",
      +        "description": "证据来源。",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "month_zhi",
      +      "day_master_stem",
      +      "day_master_element",
      +      "season_is_extreme"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "扶抑 evidence record.",
      +    "properties": {
      +      "ji": {
      +        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      +        "description": "扶抑候选忌神;缺省为 无候选。"
      +      },
      +      "pattern": {
      +        "description": "扶抑结构模式。",
      +        "type": "string"
      +      },
      +      "qiang_ruo": {
      +        "description": "身强弱。",
      +        "type": "string"
      +      },
      +      "ri_gan_gen": {
      +        "description": "通根类型。",
      +        "type": "string"
      +      },
      +      "season": {
      +        "description": "季节状态。",
      +        "type": "string"
      +      },
      +      "source": {
      +        "const": "fu_yi",
      +        "description": "证据来源。",
      +        "type": "string"
      +      },
      +      "xi": {
      +        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      +        "description": "扶抑候选喜神;缺省为 无候选。"
      +      },
      +      "yin_bi_shu_liang": {
      +        "description": "印比数量。",
      +        "type": "integer"
      +      },
      +      "yong": {
      +        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      +        "description": "扶抑候选用神;缺省为 无候选。"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "qiang_ruo",
      +      "pattern",
      +      "ri_gan_gen",
      +      "season",
      +      "yin_bi_shu_liang",
      +      "yong",
      +      "xi",
      +      "ji"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "调候 evidence record.",
      +    "properties": {
      +      "condition_ok": {
      +        "description": "辅调候条件是否满足。",
      +        "type": "boolean"
      +      },
      +      "control_wuxing": {
      +        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      +        "description": "调候控制五行。"
      +      },
      +      "primary_present": {
      +        "description": "主调候是否出现。",
      +        "type": "boolean"
      +      },
      +      "primary_visible": {
      +        "description": "主调候是否可见。",
      +        "type": "boolean"
      +      },
      +      "primary_wuxing": {
      +        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      +        "description": "主调候五行。"
      +      },
      +      "secondary_condition": {
      +        "description": "辅调候条件。",
      +        "type": "string"
      +      },
      +      "secondary_present": {
      +        "description": "辅调候是否出现。",
      +        "type": "boolean"
      +      },
      +      "secondary_usable": {
      +        "description": "辅调候是否可用。",
      +        "type": "boolean"
      +      },
      +      "secondary_visible": {
      +        "description": "辅调候是否可见。",
      +        "type": "boolean"
      +      },
      +      "secondary_wuxing": {
      +        "description": "辅调候五行;缺失时为 无辅调候。",
      +        "enum": [
      +          "木",
      +          "火",
      +          "土",
      +          "金",
      +          "水",
      +          "无辅调候"
      +        ],
      +        "type": "string"
      +      },
      +      "source": {
      +        "const": "tiao_hou",
      +        "description": "证据来源。",
      +        "type": "string"
      +      },
      +      "yong": {
      +        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      +        "description": "调候用神。"
      +      },
      +      "yong_present": {
      +        "description": "调候用神是否出现。",
      +        "type": "boolean"
      +      },
      +      "yong_source": {
      +        "description": "调候用神来源。",
      +        "type": "string"
      +      },
      +      "yong_visible": {
      +        "description": "调候用神是否可见。",
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "primary_wuxing",
      +      "secondary_wuxing",
      +      "secondary_condition",
      +      "condition_ok",
      +      "secondary_usable",
      +      "primary_present",
      +      "primary_visible",
      +      "secondary_present",
      +      "secondary_visible",
      +      "yong",
      +      "yong_source",
      +      "yong_present",
      +      "yong_visible",
      +      "control_wuxing"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "格局 evidence record.",
      +    "properties": {
      +      "is_clear": {
      +        "description": "格局是否清纯。",
      +        "type": "boolean"
      +      },
      +      "pattern": {
      +        "description": "格局名称。",
      +        "type": "string"
      +      },
      +      "pattern_god_source": {
      +        "description": "格神取用来源。",
      +        "type": "string"
      +      },
      +      "pattern_god_ten_god": {
      +        "$ref": "#/$defs/Enum_99836a85f2ed",
      +        "description": "格神十神;无格神为 无格神。"
      +      },
      +      "source": {
      +        "const": "ge_ju",
      +        "description": "证据来源。",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "pattern",
      +      "pattern_god_ten_god",
      +      "pattern_god_source",
      +      "is_clear"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "从格复核 evidence record.",
      +    "properties": {
      +      "bi_jie_rooted_count": {
      +        "description": "有根比劫数量;任一有根比劫即破从弱。",
      +        "type": "integer"
      +      },
      +      "cai_effective_count": {
      +        "description": "有效财星数量:透干,或通根且力量强。",
      +        "type": "integer"
      +      },
      +      "guan_sha_effective_count": {
      +        "description": "有效官杀数量:透干,或通根且力量强。",
      +        "type": "integer"
      +      },
      +      "is_fake_candidate": {
      +        "description": "是否为假从格候选。",
      +        "type": "boolean"
      +      },
      +      "is_verified": {
      +        "description": "从格双证是否通过。",
      +        "type": "boolean"
      +      },
      +      "pattern": {
      +        "description": "从格候选标签。",
      +        "type": "string"
      +      },
      +      "shi_shang_effective_count": {
      +        "description": "有效食伤数量:透干,或通根且力量强。",
      +        "type": "integer"
      +      },
      +      "source": {
      +        "const": "cong_ge",
      +        "description": "证据来源。",
      +        "type": "string"
      +      },
      +      "yin_rooted_count": {
      +        "description": "有根印星数量;任一有根印星即破从弱。",
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "pattern",
      +      "is_verified",
      +      "is_fake_candidate",
      +      "guan_sha_effective_count",
      +      "cai_effective_count",
      +      "shi_shang_effective_count",
      +      "yin_rooted_count",
      +      "bi_jie_rooted_count"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed14 schema fields changed
    • addedOutput schema / $defs
      Added value: +{
      +  "Enum_7cf8ba54b12a": {
      +    "enum": [
      +      "土",
      +      "无候选",
      +      "木",
      +      "水",
      +      "火",
      +      "金"
      +    ],
      +    "type": "string"
      +  },
      +  "Enum_99836a85f2ed": {
      +    "enum": [
      +      "七杀",
      +      "伤官",
      +      "偏印",
      +      "偏财",
      +      "劫财",
      +      "无格神",
      +      "正印",
      +      "正官",
      +      "正财",
      +      "比肩",
      +      "食神"
      +    ],
      +    "type": "string"
      +  },
      +  "Enum_c97a3d8aae12": {
      +    "enum": [
      +      "土",
      +      "木",
      +      "水",
      +      "火",
      +      "金"
      +    ],
      +    "type": "string"
      +  }
      +}
    • changedOutput schema / properties / evidence / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Engine facts evidence record.",
      -    "properties": {
      -      "day_master_element": {
      -        "description": "日主五行。",
      -        "enum": [
      -          "木",
      -          "火",
      -          "土",
      -          "金",
      -          "水"
      -        ],
      -        "type": "string"
      -      },
      -      "day_master_stem": {
      -        "description": "日主天干。",
      -        "enum": [
      -          "甲",
      -          "乙",
      -          "丙",
      -          "丁",
      -          "戊",
      -          "己",
      -          "庚",
      -          "辛",
      -          "壬",
      -          "癸"
      -        ],
      -        "type": "string"
      -      },
      -      "month_zhi": {
      -        "description": "月支。",
      -        "enum": [
      -          "子",
      -          "丑",
      -          "寅",
      -          "卯",
      -          "辰",
      -          "巳",
      -          "午",
      -          "未",
      -          "申",
      -          "酉",
      -          "戌",
      -          "亥"
      -        ],
      -        "type": "string"
      -      },
      -      "season_is_extreme": {
      -        "description": "季节是否极端。",
      -        "type": "boolean"
      -      },
      -      "source": {
      -        "const": "facts",
      -        "description": "证据来源。",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "month_zhi",
      -      "day_master_stem",
      -      "day_master_element",
      -      "season_is_extreme"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "扶抑 evidence record.",
      -    "properties": {
      -      "ji": {
      -        "description": "扶抑候选忌神;缺省为 无候选。",
      -        "enum": [
      -          "木",
      -          "火",
      -          "土",
      -          "金",
      -          "水",
      -          "无候选"
      -        ],
      -        "type": "string"
      -      },
      -      "pattern": {
      -        "description": "扶抑结构模式。",
      -        "type": "string"
      -      },
      -      "qiang_ruo": {
      -        "description": "身强弱。",
      -        "type": "string"
      -      },
      -      "ri_gan_gen": {
      -        "description": "通根类型。",
      -        "type": "string"
      -      },
      -      "season": {
      -        "description": "季节状态。",
      -        "type": "string"
      -      },
      -      "source": {
      -        "const": "fu_yi",
      -        "description": "证据来源。",
      -        "type": "string"
      -      },
      -      "xi": {
      -        "description": "扶抑候选喜神;缺省为 无候选。",
      -        "enum": [
      -          "木",
      -          "火",
      -          "土",
      -          "金",
      -          "水",
      -          "无候选"
      -        ],
      -        "type": "string"
      -      },
      -      "yin_bi_shu_liang": {
      -        "description": "印比数量。",
      -        "type": "integer"
      -      },
      -      "yong": {
      -        "description": "扶抑候选用神;缺省为 无候选。",
      -        "enum": [
      -          "木",
      -          "火",
      -          "土",
      -          "金",
      -          "水",
      -          "无候选"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "qiang_ruo",
      -      "pattern",
      -      "ri_gan_gen",
      -      "season",
      -      "yin_bi_shu_liang",
      -      "yong",
      -      "xi",
      -      "ji"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "调候 evidence record.",
      -    "properties": {
      -      "condition_ok": {
      -        "description": "辅调候条件是否满足。",
      -        "type": "boolean"
      -      },
      -      "control_wuxing": {
      -        "description": "调候控制五行。",
      -        "enum": [
      -          "木",
      -          "火",
      -          "土",
      -          "金",
      -          "水",
      -          "无候选"
      -        ],
      -        "type": "string"
      -      },
      -      "primary_present": {
      -        "description": "主调候是否出现。",
      -        "type": "boolean"
      -      },
      -      "primary_visible": {
      -        "description": "主调候是否可见。",
      -        "type": "boolean"
      -      },
      -      "primary_wuxing": {
      -        "description": "主调候五行。",
      -        "enum": [
      -          "木",
      -          "火",
      -          "土",
      -          "金",
      -          "水",
      -          "无候选"
      -        ],
      -        "type": "string"
      -      },
      -      "secondary_condition": {
      -        "description": "辅调候条件。",
      -        "type": "string"
      -      },
      -      "secondary_present": {
      -        "description": "辅调候是否出现。",
      -        "type": "boolean"
      -      },
      -      "secondary_usable": {
      -        "description": "辅调候是否可用。",
      -        "type": "boolean"
      -      },
      -      "secondary_visible": {
      -        "description": "辅调候是否可见。",
      -        "type": "boolean"
      -      },
      -      "secondary_wuxing": {
      -        "description": "辅调候五行;缺失时为 无辅调候。",
      -        "enum": [
      -          "木",
      -          "火",
      -          "土",
      -          "金",
      -          "水",
      -          "无辅调候"
      -        ],
      -        "type": "string"
      -      },
      -      "source": {
      -        "const": "tiao_hou",
      -        "description": "证据来源。",
      -        "type": "string"
      -      },
      -      "yong": {
      -        "description": "调候用神。",
      -        "enum": [
      -          "木",
      -          "火",
      -          "土",
      -          "金",
      -          "水",
      -          "无候选"
      -        ],
      -        "type": "string"
      -      },
      -      "yong_present": {
      -        "description": "调候用神是否出现。",
      -        "type": "boolean"
      -      },
      -      "yong_source": {
      -        "description": "调候用神来源。",
      -        "type": "string"
      -      },
      -      "yong_visible": {
      -        "description": "调候用神是否可见。",
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "primary_wuxing",
      -      "secondary_wuxing",
      -      "secondary_condition",
      -      "condition_ok",
      -      "secondary_usable",
      -      "primary_present",
      -      "primary_visible",
      -      "secondary_present",
      -      "secondary_visible",
      -      "yong",
      -      "yong_source",
      -      "yong_present",
      -      "yong_visible",
      -      "control_wuxing"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "格局 evidence record.",
      -    "properties": {
      -      "is_clear": {
      -        "description": "格局是否清纯。",
      -        "type": "boolean"
      -      },
      -      "pattern": {
      -        "description": "格局名称。",
      -        "type": "string"
      -      },
      -      "pattern_god_source": {
      -        "description": "格神取用来源。",
      -        "type": "string"
      -      },
      -      "pattern_god_ten_god": {
      -        "description": "格神十神;无格神为 无格神。",
      -        "enum": [
      -          "无格神",
      -          "比肩",
      -          "劫财",
      -          "食神",
      -          "伤官",
      -          "偏财",
      -          "正财",
      -          "七杀",
      -          "正官",
      -          "偏印",
      -          "正印"
      -        ],
      -        "type": "string"
      -      },
      -      "source": {
      -        "const": "ge_ju",
      -        "description": "证据来源。",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "pattern",
      -      "pattern_god_ten_god",
      -      "pattern_god_source",
      -      "is_clear"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "从格复核 evidence record.",
      -    "properties": {
      -      "bi_jie_rooted_count": {
      -        "description": "有根比劫数量;任一有根比劫即破从弱。",
      -        "type": "integer"
      -      },
      -      "cai_effective_count": {
      -        "description": "有效财星数量:透干,或通根且力量强。",
      -        "type": "integer"
      -      },
      -      "guan_sha_effective_count": {
      -        "description": "有效官杀数量:透干,或通根且力量强。",
      -        "type": "integer"
      -      },
      -      "is_fake_candidate": {
      -        "description": "是否为假从格候选。",
      -        "type": "boolean"
      -      },
      -      "is_verified": {
      -        "description": "从格双证是否通过。",
      -        "type": "boolean"
      -      },
      -      "pattern": {
      -        "description": "从格候选标签。",
      -        "type": "string"
      -      },
      -      "shi_shang_effective_count": {
      -        "description": "有效食伤数量:透干,或通根且力量强。",
      -        "type": "integer"
      -      },
      -      "source": {
      -        "const": "cong_ge",
      -        "description": "证据来源。",
      -        "type": "string"
      -      },
      -      "yin_rooted_count": {
      -        "description": "有根印星数量;任一有根印星即破从弱。",
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "pattern",
      -      "is_verified",
      -      "is_fake_candidate",
      -      "guan_sha_effective_count",
      -      "cai_effective_count",
      -      "shi_shang_effective_count",
      -      "yin_rooted_count",
      -      "bi_jie_rooted_count"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "Engine facts evidence record.",
      +    "properties": {
      +      "day_master_element": {
      +        "$ref": "#/$defs/Enum_c97a3d8aae12",
      +        "description": "日主五行。"
      +      },
      +      "day_master_stem": {
      +        "description": "日主天干。",
      +        "enum": [
      +          "甲",
      +          "乙",
      +          "丙",
      +          "丁",
      +          "戊",
      +          "己",
      +          "庚",
      +          "辛",
      +          "壬",
      +          "癸"
      +        ],
      +        "type": "string"
      +      },
      +      "month_zhi": {
      +        "description": "月支。",
      +        "enum": [
      +          "子",
      +          "丑",
      +          "寅",
      +          "卯",
      +          "辰",
      +          "巳",
      +          "午",
      +          "未",
      +          "申",
      +          "酉",
      +          "戌",
      +          "亥"
      +        ],
      +        "type": "string"
      +      },
      +      "season_is_extreme": {
      +        "description": "季节是否极端。",
      +        "type": "boolean"
      +      },
      +      "source": {
      +        "const": "facts",
      +        "description": "证据来源。",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "month_zhi",
      +      "day_master_stem",
      +      "day_master_element",
      +      "season_is_extreme"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "扶抑 evidence record.",
      +    "properties": {
      +      "ji": {
      +        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      +        "description": "扶抑候选忌神;缺省为 无候选。"
      +      },
      +      "pattern": {
      +        "description": "扶抑结构模式。",
      +        "type": "string"
      +      },
      +      "qiang_ruo": {
      +        "description": "身强弱。",
      +        "type": "string"
      +      },
      +      "ri_gan_gen": {
      +        "description": "通根类型。",
      +        "type": "string"
      +      },
      +      "season": {
      +        "description": "季节状态。",
      +        "type": "string"
      +      },
      +      "source": {
      +        "const": "fu_yi",
      +        "description": "证据来源。",
      +        "type": "string"
      +      },
      +      "xi": {
      +        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      +        "description": "扶抑候选喜神;缺省为 无候选。"
      +      },
      +      "yin_bi_shu_liang": {
      +        "description": "印比数量。",
      +        "type": "integer"
      +      },
      +      "yong": {
      +        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      +        "description": "扶抑候选用神;缺省为 无候选。"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "qiang_ruo",
      +      "pattern",
      +      "ri_gan_gen",
      +      "season",
      +      "yin_bi_shu_liang",
      +      "yong",
      +      "xi",
      +      "ji"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "调候 evidence record.",
      +    "properties": {
      +      "condition_ok": {
      +        "description": "辅调候条件是否满足。",
      +        "type": "boolean"
      +      },
      +      "control_wuxing": {
      +        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      +        "description": "调候控制五行。"
      +      },
      +      "primary_present": {
      +        "description": "主调候是否出现。",
      +        "type": "boolean"
      +      },
      +      "primary_visible": {
      +        "description": "主调候是否可见。",
      +        "type": "boolean"
      +      },
      +      "primary_wuxing": {
      +        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      +        "description": "主调候五行。"
      +      },
      +      "secondary_condition": {
      +        "description": "辅调候条件。",
      +        "type": "string"
      +      },
      +      "secondary_present": {
      +        "description": "辅调候是否出现。",
      +        "type": "boolean"
      +      },
      +      "secondary_usable": {
      +        "description": "辅调候是否可用。",
      +        "type": "boolean"
      +      },
      +      "secondary_visible": {
      +        "description": "辅调候是否可见。",
      +        "type": "boolean"
      +      },
      +      "secondary_wuxing": {
      +        "description": "辅调候五行;缺失时为 无辅调候。",
      +        "enum": [
      +          "木",
      +          "火",
      +          "土",
      +          "金",
      +          "水",
      +          "无辅调候"
      +        ],
      +        "type": "string"
      +      },
      +      "source": {
      +        "const": "tiao_hou",
      +        "description": "证据来源。",
      +        "type": "string"
      +      },
      +      "yong": {
      +        "$ref": "#/$defs/Enum_7cf8ba54b12a",
      +        "description": "调候用神。"
      +      },
      +      "yong_present": {
      +        "description": "调候用神是否出现。",
      +        "type": "boolean"
      +      },
      +      "yong_source": {
      +        "description": "调候用神来源。",
      +        "type": "string"
      +      },
      +      "yong_visible": {
      +        "description": "调候用神是否可见。",
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "primary_wuxing",
      +      "secondary_wuxing",
      +      "secondary_condition",
      +      "condition_ok",
      +      "secondary_usable",
      +      "primary_present",
      +      "primary_visible",
      +      "secondary_present",
      +      "secondary_visible",
      +      "yong",
      +      "yong_source",
      +      "yong_present",
      +      "yong_visible",
      +      "control_wuxing"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "格局 evidence record.",
      +    "properties": {
      +      "is_clear": {
      +        "description": "格局是否清纯。",
      +        "type": "boolean"
      +      },
      +      "pattern": {
      +        "description": "格局名称。",
      +        "type": "string"
      +      },
      +      "pattern_god_source": {
      +        "description": "格神取用来源。",
      +        "type": "string"
      +      },
      +      "pattern_god_ten_god": {
      +        "$ref": "#/$defs/Enum_99836a85f2ed",
      +        "description": "格神十神;无格神为 无格神。"
      +      },
      +      "source": {
      +        "const": "ge_ju",
      +        "description": "证据来源。",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "pattern",
      +      "pattern_god_ten_god",
      +      "pattern_god_source",
      +      "is_clear"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "从格复核 evidence record.",
      +    "properties": {
      +      "bi_jie_rooted_count": {
      +        "description": "有根比劫数量;任一有根比劫即破从弱。",
      +        "type": "integer"
      +      },
      +      "cai_effective_count": {
      +        "description": "有效财星数量:透干,或通根且力量强。",
      +        "type": "integer"
      +      },
      +      "guan_sha_effective_count": {
      +        "description": "有效官杀数量:透干,或通根且力量强。",
      +        "type": "integer"
      +      },
      +      "is_fake_candidate": {
      +        "description": "是否为假从格候选。",
      +        "type": "boolean"
      +      },
      +      "is_verified": {
      +        "description": "从格双证是否通过。",
      +        "type": "boolean"
      +      },
      +      "pattern": {
      +        "description": "从格候选标签。",
      +        "type": "string"
      +      },
      +      "shi_shang_effective_count": {
      +        "description": "有效食伤数量:透干,或通根且力量强。",
      +        "type": "integer"
      +      },
      +      "source": {
      +        "const": "cong_ge",
      +        "description": "证据来源。",
      +        "type": "string"
      +      },
      +      "yin_rooted_count": {
      +        "description": "有根印星数量;任一有根印星即破从弱。",
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "pattern",
      +      "is_verified",
      +      "is_fake_candidate",
      +      "guan_sha_effective_count",
      +      "cai_effective_count",
      +      "shi_shang_effective_count",
      +      "yin_rooted_count",
      +      "bi_jie_rooted_count"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / ge_ju_context / properties / pattern_god_ten_god / $ref
      Added value: +"#/$defs/Enum_99836a85f2ed"
    • removedOutput schema / properties / ge_ju_context / properties / pattern_god_ten_god / enum
      Removed value: -[
      -  "无格神",
      -  "比肩",
      -  "劫财",
      -  "食神",
      -  "伤官",
      -  "偏财",
      -  "正财",
      -  "七杀",
      -  "正官",
      -  "偏印",
      -  "正印"
      -]
    • removedOutput schema / properties / ge_ju_context / properties / pattern_god_ten_god / type
      Removed value: -"string"
    • addedOutput schema / properties / selected_yongshen / properties / ji / items / $ref
      Added value: +"#/$defs/Enum_c97a3d8aae12"
    • removedOutput schema / properties / selected_yongshen / properties / ji / items / enum
      Removed value: -[
      -  "木",
      -  "火",
      -  "土",
      -  "金",
      -  "水"
      -]
    • removedOutput schema / properties / selected_yongshen / properties / ji / items / type
      Removed value: -"string"
    • addedOutput schema / properties / selected_yongshen / properties / xi / items / $ref
      Added value: +"#/$defs/Enum_c97a3d8aae12"
    • removedOutput schema / properties / selected_yongshen / properties / xi / items / enum
      Removed value: -[
      -  "木",
      -  "火",
      -  "土",
      -  "金",
      -  "水"
      -]
    • removedOutput schema / properties / selected_yongshen / properties / xi / items / type
      Removed value: -"string"
    • addedOutput schema / properties / selected_yongshen / properties / yong / $ref
      Added value: +"#/$defs/Enum_7cf8ba54b12a"
    • removedOutput schema / properties / selected_yongshen / properties / yong / enum
      Removed value: -[
      -  "木",
      -  "火",
      -  "土",
      -  "金",
      -  "水",
      -  "无候选"
      -]
    • removedOutput schema / properties / selected_yongshen / properties / yong / type
      Removed value: -"string"
  3. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered; the description goes further by disclosing the decision behavior, namely that it will not silently re-select when conflicts is non-empty or status needs review. It also enumerates the returned fields (status, selected_yongshen, conflicts, hit rules, 格局 context, evidence), though this overlaps somewhat with the existing output schema.

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 text leads with the core input-to-output contract, then provenance, then returns and guardrails, then sibling routing. It is dense but every clause carries operational content, with no filler or repetition of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter adjudication tool with an output schema, readOnly annotations, and full schema coverage, this definition covers purpose, input provenance, ambiguity handling, output fields, non-silent-conflict behavior, and sibling alternatives. Nothing an agent needs in order to call it correctly is missing.

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 already 100%, so the baseline is 3, but the description adds genuine provenance guidance beyond the schema: the subject may be assembled from explicit user facts or from user-confirmed candidates, and ambiguous time or multiple candidates must be normalized and confirmed first. That clarifies how to populate the nested subject object rather than just repeating its fields.

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 arrow formulation names a specific transformation: a schema-valid, already-normalized birth subject in, a deterministic and unique 用神 (yongshen) verdict out. It explicitly carves out scope boundaries against siblings, stating that raw chart work belongs to bazi_chart and that naming only consumes selected_yongshen.yong.

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

Usage Guidelines5/5

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

It states exactly how to obtain the subject (from user-stated facts, or from subject_candidates after user confirmation) and what to do when time is ambiguous or multiple candidates exist (normalize and confirm first). It also names the alternatives conditionally: use bazi_chart when you only want the raw chart, and note that naming consumes a specific output field.

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.

Resources