Skip to main content
Glama

Liki — Professional AI Astrologer

natal_query

Read-onlyIdempotent

schema 合法的出生主体 + 人生问题 → 八字与紫微本命合参断语。subject 可由用户明确事实组装,也可取自用户确认后的 subject_candidates 候选;时间模糊或多候选时先归一化并确认。只要原始本命盘时改用 bazi_chart / ziwei_chart;逐年流年断语用 natal_liunian_query。因子计算由服务端内部完成,不对外返回。

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>",
      "life_topics": "<life_topics>"
    },
    "name": "natal_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectYes已考时归一化的出生主体。
life_topicsYes人生问题域。

Output Schema

NameRequiredDescriptionDefault
baziYes八字本命断语。
ziweiYes紫微本命断语。
natal_chart_digestYes完整本命盘 SHA-256 摘要。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / $defs / 090025908041
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "assertions": {
      +      "description": "该侧命理断语结果。",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "assertion_id": {
      +            "description": "Stable assertion id.",
      +            "type": "string"
      +          },
      +          "conclusion": {
      +            "description": "Deterministic assertion conclusion.",
      +            "type": "string"
      +          },
      +          "event": {
      +            "description": "事件摘要。",
      +            "type": "string"
      +          },
      +          "event_type": {
      +            "description": "事件类型。",
      +            "type": "string"
      +          },
      +          "evidence": {
      +            "description": "Factor evidence used by the rule.",
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "actual": {
      +                  "description": "因子实际值。",
      +                  "type": [
      +                    "null",
      +                    "string"
      +                  ]
      +                },
      +                "condition_group": {
      +                  "description": "条件组编号。",
      +                  "type": [
      +                    "null",
      +                    "integer"
      +                  ]
      +                },
      +                "expected": {
      +                  "description": "因子期望值。",
      +                  "type": [
      +                    "null",
      +                    "string"
      +                  ]
      +                },
      +                "factor": {
      +                  "description": "命中的因子名。",
      +                  "type": "string"
      +                },
      +                "gender_scope": {
      +                  "$ref": "#/$defs/Enum_186f4b1fcd46",
      +                  "description": "性别专属因子的作用范围。"
      +                }
      +              },
      +              "required": [
      +                "factor"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "life_topics": {
      +            "description": "命中的受控人生问题域。",
      +            "items": {
      +              "$ref": "#/$defs/Enum_644023795c29"
      +            },
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "rule_id": {
      +            "description": "命理断语规则 ID。",
      +            "type": "string"
      +          },
      +          "source": {
      +            "additionalProperties": false,
      +            "description": "断语规则来源与依据。",
      +            "properties": {
      +              "basis": {
      +                "description": "规则依据。",
      +                "type": "string"
      +              },
      +              "classic_basis": {
      +                "description": "经典依据。",
      +                "type": "string"
      +              },
      +              "kind": {
      +                "const": "assertion_table",
      +                "description": "断语来源类型。",
      +                "type": "string"
      +              },
      +              "rule_domain": {
      +                "description": "断语规则在来源表中的命理领域。",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "kind",
      +              "rule_domain",
      +              "basis",
      +              "classic_basis"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "assertion_id",
      +          "life_topics",
      +          "rule_id",
      +          "event_type",
      +          "event",
      +          "conclusion",
      +          "source"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "counts": {
      +      "additionalProperties": false,
      +      "description": "命中、过滤与返回计数。",
      +      "properties": {
      +        "filtered": {
      +          "description": "评估候选中未返回的数量。",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "filtered_by": {
      +          "additionalProperties": false,
      +          "description": "过滤原因计数。",
      +          "properties": {
      +            "condition_not_matched": {
      +              "description": "因子前提未成立而未命中的候选断语数。",
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "deduplicated": {
      +              "description": "跨规则重复命中的去重次数。",
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "topic_not_selected": {
      +              "description": "因所属领域未被选中而过滤的次数。",
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "topic_not_selected",
      +            "deduplicated",
      +            "condition_not_matched"
      +          ],
      +          "type": "object"
      +        },
      +        "matched": {
      +          "description": "来源断语命中次数。",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "returned": {
      +          "description": "过滤后返回的断语数。",
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "matched",
      +        "returned",
      +        "filtered",
      +        "filtered_by"
      +      ],
      +      "type": "object"
      +    },
      +    "gated_assertion_ids": {
      +      "description": "因子前提未成立而未返回的稳定断语 ID。",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "assertions",
      +    "counts"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / $defs / ff16d87cfa08
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "assertions": {
      -      "description": "该侧命理断语结果。",
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "assertion_id": {
      -            "description": "Stable assertion id.",
      -            "type": "string"
      -          },
      -          "conclusion": {
      -            "description": "Deterministic assertion conclusion.",
      -            "type": "string"
      -          },
      -          "event": {
      -            "description": "事件摘要。",
      -            "type": "string"
      -          },
      -          "event_type": {
      -            "description": "事件类型。",
      -            "type": "string"
      -          },
      -          "evidence": {
      -            "description": "Factor evidence used by the rule.",
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "actual": {
      -                  "description": "因子实际值。",
      -                  "type": [
      -                    "null",
      -                    "string"
      -                  ]
      -                },
      -                "condition_group": {
      -                  "description": "条件组编号。",
      -                  "type": [
      -                    "null",
      -                    "integer"
      -                  ]
      -                },
      -                "expected": {
      -                  "description": "因子期望值。",
      -                  "type": [
      -                    "null",
      -                    "string"
      -                  ]
      -                },
      -                "factor": {
      -                  "description": "命中的因子名。",
      -                  "type": "string"
      -                },
      -                "gender_scope": {
      -                  "$ref": "#/$defs/Enum_186f4b1fcd46",
      -                  "description": "性别专属因子的作用范围。"
      -                }
      -              },
      -              "required": [
      -                "factor"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "life_topics": {
      -            "description": "命中的受控人生问题域。",
      -            "items": {
      -              "$ref": "#/$defs/Enum_644023795c29"
      -            },
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "rule_id": {
      -            "description": "命理断语规则 ID。",
      -            "type": "string"
      -          },
      -          "source": {
      -            "additionalProperties": false,
      -            "description": "断语规则来源与依据。",
      -            "properties": {
      -              "basis": {
      -                "description": "规则依据。",
      -                "type": "string"
      -              },
      -              "classic_basis": {
      -                "description": "经典依据。",
      -                "type": "string"
      -              },
      -              "kind": {
      -                "const": "assertion_table",
      -                "description": "断语来源类型。",
      -                "type": "string"
      -              },
      -              "rule_domain": {
      -                "description": "断语规则在来源表中的命理领域。",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "kind",
      -              "rule_domain",
      -              "basis",
      -              "classic_basis"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "assertion_id",
      -          "life_topics",
      -          "rule_id",
      -          "event_type",
      -          "event",
      -          "conclusion",
      -          "source"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "counts": {
      -      "additionalProperties": false,
      -      "description": "命中、过滤与返回计数。",
      -      "properties": {
      -        "filtered": {
      -          "description": "未返回的命中次数。",
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "filtered_by": {
      -          "additionalProperties": false,
      -          "description": "过滤原因计数。",
      -          "properties": {
      -            "deduplicated": {
      -              "description": "跨规则重复命中的去重次数。",
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "topic_not_selected": {
      -              "description": "因所属领域未被选中而过滤的次数。",
      -              "minimum": 0,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "topic_not_selected",
      -            "deduplicated"
      -          ],
      -          "type": "object"
      -        },
      -        "matched": {
      -          "description": "来源断语命中次数。",
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "returned": {
      -          "description": "过滤后返回的断语数。",
      -          "minimum": 0,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "matched",
      -        "returned",
      -        "filtered",
      -        "filtered_by"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "required": [
      -    "assertions",
      -    "counts"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / properties / bazi / $ref
      Previous value: -"#/$defs/ff16d87cfa08"New value: +"#/$defs/090025908041"
    • changedOutput schema / properties / ziwei / $ref
      Previous value: -"#/$defs/ff16d87cfa08"New value: +"#/$defs/090025908041"
  2. Changed11 schema fields changed
    • addedOutput schema / $defs / ff16d87cfa08
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "assertions": {
      +      "description": "该侧命理断语结果。",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "assertion_id": {
      +            "description": "Stable assertion id.",
      +            "type": "string"
      +          },
      +          "conclusion": {
      +            "description": "Deterministic assertion conclusion.",
      +            "type": "string"
      +          },
      +          "event": {
      +            "description": "事件摘要。",
      +            "type": "string"
      +          },
      +          "event_type": {
      +            "description": "事件类型。",
      +            "type": "string"
      +          },
      +          "evidence": {
      +            "description": "Factor evidence used by the rule.",
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "actual": {
      +                  "description": "因子实际值。",
      +                  "type": [
      +                    "null",
      +                    "string"
      +                  ]
      +                },
      +                "condition_group": {
      +                  "description": "条件组编号。",
      +                  "type": [
      +                    "null",
      +                    "integer"
      +                  ]
      +                },
      +                "expected": {
      +                  "description": "因子期望值。",
      +                  "type": [
      +                    "null",
      +                    "string"
      +                  ]
      +                },
      +                "factor": {
      +                  "description": "命中的因子名。",
      +                  "type": "string"
      +                },
      +                "gender_scope": {
      +                  "$ref": "#/$defs/Enum_186f4b1fcd46",
      +                  "description": "性别专属因子的作用范围。"
      +                }
      +              },
      +              "required": [
      +                "factor"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "life_topics": {
      +            "description": "命中的受控人生问题域。",
      +            "items": {
      +              "$ref": "#/$defs/Enum_644023795c29"
      +            },
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "rule_id": {
      +            "description": "命理断语规则 ID。",
      +            "type": "string"
      +          },
      +          "source": {
      +            "additionalProperties": false,
      +            "description": "断语规则来源与依据。",
      +            "properties": {
      +              "basis": {
      +                "description": "规则依据。",
      +                "type": "string"
      +              },
      +              "classic_basis": {
      +                "description": "经典依据。",
      +                "type": "string"
      +              },
      +              "kind": {
      +                "const": "assertion_table",
      +                "description": "断语来源类型。",
      +                "type": "string"
      +              },
      +              "rule_domain": {
      +                "description": "断语规则在来源表中的命理领域。",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "kind",
      +              "rule_domain",
      +              "basis",
      +              "classic_basis"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "assertion_id",
      +          "life_topics",
      +          "rule_id",
      +          "event_type",
      +          "event",
      +          "conclusion",
      +          "source"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "counts": {
      +      "additionalProperties": false,
      +      "description": "命中、过滤与返回计数。",
      +      "properties": {
      +        "filtered": {
      +          "description": "未返回的命中次数。",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "filtered_by": {
      +          "additionalProperties": false,
      +          "description": "过滤原因计数。",
      +          "properties": {
      +            "deduplicated": {
      +              "description": "跨规则重复命中的去重次数。",
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "topic_not_selected": {
      +              "description": "因所属领域未被选中而过滤的次数。",
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "topic_not_selected",
      +            "deduplicated"
      +          ],
      +          "type": "object"
      +        },
      +        "matched": {
      +          "description": "来源断语命中次数。",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "returned": {
      +          "description": "过滤后返回的断语数。",
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "matched",
      +        "returned",
      +        "filtered",
      +        "filtered_by"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "assertions",
      +    "counts"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / bazi / $ref
      Added value: +"#/$defs/ff16d87cfa08"
    • removedOutput schema / properties / bazi / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / bazi / properties
      Removed value: -{
      -  "assertions": {
      -    "description": "该侧命理断语结果。",
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "assertion_id": {
      -          "description": "Stable assertion id.",
      -          "type": "string"
      -        },
      -        "conclusion": {
      -          "description": "Deterministic assertion conclusion.",
      -          "type": "string"
      -        },
      -        "event": {
      -          "description": "事件摘要。",
      -          "type": "string"
      -        },
      -        "event_type": {
      -          "description": "事件类型。",
      -          "type": "string"
      -        },
      -        "evidence": {
      -          "description": "Factor evidence used by the rule.",
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "actual": {
      -                "description": "因子实际值。",
      -                "type": [
      -                  "null",
      -                  "string"
      -                ]
      -              },
      -              "condition_group": {
      -                "description": "条件组编号。",
      -                "type": [
      -                  "null",
      -                  "integer"
      -                ]
      -              },
      -              "expected": {
      -                "description": "因子期望值。",
      -                "type": [
      -                  "null",
      -                  "string"
      -                ]
      -              },
      -              "factor": {
      -                "description": "命中的因子名。",
      -                "type": "string"
      -              },
      -              "gender_scope": {
      -                "$ref": "#/$defs/Enum_186f4b1fcd46",
      -                "description": "性别专属因子的作用范围。"
      -              }
      -            },
      -            "required": [
      -              "factor"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "life_topics": {
      -          "description": "命中的受控人生问题域。",
      -          "items": {
      -            "$ref": "#/$defs/Enum_644023795c29"
      -          },
      -          "minItems": 1,
      -          "type": "array"
      -        },
      -        "rule_id": {
      -          "description": "命理断语规则 ID。",
      -          "type": "string"
      -        },
      -        "source": {
      -          "additionalProperties": false,
      -          "description": "断语规则来源与依据。",
      -          "properties": {
      -            "basis": {
      -              "description": "规则依据。",
      -              "type": "string"
      -            },
      -            "classic_basis": {
      -              "description": "经典依据。",
      -              "type": "string"
      -            },
      -            "kind": {
      -              "const": "assertion_table",
      -              "description": "断语来源类型。",
      -              "type": "string"
      -            },
      -            "rule_domain": {
      -              "description": "断语规则在来源表中的命理领域。",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "kind",
      -            "rule_domain",
      -            "basis",
      -            "classic_basis"
      -          ],
      -          "type": "object"
      -        }
      -      },
      -      "required": [
      -        "assertion_id",
      -        "life_topics",
      -        "rule_id",
      -        "event_type",
      -        "event",
      -        "conclusion",
      -        "source"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "counts": {
      -    "additionalProperties": false,
      -    "description": "命中、过滤与返回计数。",
      -    "properties": {
      -      "filtered": {
      -        "description": "未返回的命中次数。",
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "filtered_by": {
      -        "additionalProperties": false,
      -        "description": "过滤原因计数。",
      -        "properties": {
      -          "deduplicated": {
      -            "description": "跨规则重复命中的去重次数。",
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "topic_not_selected": {
      -            "description": "因所属领域未被选中而过滤的次数。",
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "topic_not_selected",
      -          "deduplicated"
      -        ],
      -        "type": "object"
      -      },
      -      "matched": {
      -        "description": "来源断语命中次数。",
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "returned": {
      -        "description": "过滤后返回的断语数。",
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "matched",
      -      "returned",
      -      "filtered",
      -      "filtered_by"
      -    ],
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / properties / bazi / required
      Removed value: -[
      -  "assertions",
      -  "counts"
      -]
    • removedOutput schema / properties / bazi / type
      Removed value: -"object"
    • addedOutput schema / properties / ziwei / $ref
      Added value: +"#/$defs/ff16d87cfa08"
    • removedOutput schema / properties / ziwei / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / ziwei / properties
      Removed value: -{
      -  "assertions": {
      -    "description": "该侧命理断语结果。",
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "assertion_id": {
      -          "description": "Stable assertion id.",
      -          "type": "string"
      -        },
      -        "conclusion": {
      -          "description": "Deterministic assertion conclusion.",
      -          "type": "string"
      -        },
      -        "event": {
      -          "description": "事件摘要。",
      -          "type": "string"
      -        },
      -        "event_type": {
      -          "description": "事件类型。",
      -          "type": "string"
      -        },
      -        "evidence": {
      -          "description": "Factor evidence used by the rule.",
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "actual": {
      -                "description": "因子实际值。",
      -                "type": [
      -                  "null",
      -                  "string"
      -                ]
      -              },
      -              "condition_group": {
      -                "description": "条件组编号。",
      -                "type": [
      -                  "null",
      -                  "integer"
      -                ]
      -              },
      -              "expected": {
      -                "description": "因子期望值。",
      -                "type": [
      -                  "null",
      -                  "string"
      -                ]
      -              },
      -              "factor": {
      -                "description": "命中的因子名。",
      -                "type": "string"
      -              },
      -              "gender_scope": {
      -                "$ref": "#/$defs/Enum_186f4b1fcd46",
      -                "description": "性别专属因子的作用范围。"
      -              }
      -            },
      -            "required": [
      -              "factor"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "life_topics": {
      -          "description": "命中的受控人生问题域。",
      -          "items": {
      -            "$ref": "#/$defs/Enum_644023795c29"
      -          },
      -          "minItems": 1,
      -          "type": "array"
      -        },
      -        "rule_id": {
      -          "description": "命理断语规则 ID。",
      -          "type": "string"
      -        },
      -        "source": {
      -          "additionalProperties": false,
      -          "description": "断语规则来源与依据。",
      -          "properties": {
      -            "basis": {
      -              "description": "规则依据。",
      -              "type": "string"
      -            },
      -            "classic_basis": {
      -              "description": "经典依据。",
      -              "type": "string"
      -            },
      -            "kind": {
      -              "const": "assertion_table",
      -              "description": "断语来源类型。",
      -              "type": "string"
      -            },
      -            "rule_domain": {
      -              "description": "断语规则在来源表中的命理领域。",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "kind",
      -            "rule_domain",
      -            "basis",
      -            "classic_basis"
      -          ],
      -          "type": "object"
      -        }
      -      },
      -      "required": [
      -        "assertion_id",
      -        "life_topics",
      -        "rule_id",
      -        "event_type",
      -        "event",
      -        "conclusion",
      -        "source"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "counts": {
      -    "additionalProperties": false,
      -    "description": "命中、过滤与返回计数。",
      -    "properties": {
      -      "filtered": {
      -        "description": "未返回的命中次数。",
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "filtered_by": {
      -        "additionalProperties": false,
      -        "description": "过滤原因计数。",
      -        "properties": {
      -          "deduplicated": {
      -            "description": "跨规则重复命中的去重次数。",
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "topic_not_selected": {
      -            "description": "因所属领域未被选中而过滤的次数。",
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "topic_not_selected",
      -          "deduplicated"
      -        ],
      -        "type": "object"
      -      },
      -      "matched": {
      -        "description": "来源断语命中次数。",
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "returned": {
      -        "description": "过滤后返回的断语数。",
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "matched",
      -      "returned",
      -      "filtered",
      -      "filtered_by"
      -    ],
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / properties / ziwei / required
      Removed value: -[
      -  "assertions",
      -  "counts"
      -]
    • removedOutput schema / properties / ziwei / type
      Removed value: -"object"
  3. Changed4 schema fields changed
    • addedOutput schema / properties / bazi / properties / counts
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "命中、过滤与返回计数。",
      +  "properties": {
      +    "filtered": {
      +      "description": "未返回的命中次数。",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "filtered_by": {
      +      "additionalProperties": false,
      +      "description": "过滤原因计数。",
      +      "properties": {
      +        "deduplicated": {
      +          "description": "跨规则重复命中的去重次数。",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "topic_not_selected": {
      +          "description": "因所属领域未被选中而过滤的次数。",
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "topic_not_selected",
      +        "deduplicated"
      +      ],
      +      "type": "object"
      +    },
      +    "matched": {
      +      "description": "来源断语命中次数。",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "returned": {
      +      "description": "过滤后返回的断语数。",
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "matched",
      +    "returned",
      +    "filtered",
      +    "filtered_by"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / bazi / required
      Previous value: -[
      -  "assertions"
      -]New value: +[
      +  "assertions",
      +  "counts"
      +]
    • addedOutput schema / properties / ziwei / properties / counts
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "命中、过滤与返回计数。",
      +  "properties": {
      +    "filtered": {
      +      "description": "未返回的命中次数。",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "filtered_by": {
      +      "additionalProperties": false,
      +      "description": "过滤原因计数。",
      +      "properties": {
      +        "deduplicated": {
      +          "description": "跨规则重复命中的去重次数。",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "topic_not_selected": {
      +          "description": "因所属领域未被选中而过滤的次数。",
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "topic_not_selected",
      +        "deduplicated"
      +      ],
      +      "type": "object"
      +    },
      +    "matched": {
      +      "description": "来源断语命中次数。",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "returned": {
      +      "description": "过滤后返回的断语数。",
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "matched",
      +    "returned",
      +    "filtered",
      +    "filtered_by"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / ziwei / required
      Previous value: -[
      -  "assertions"
      -]New value: +[
      +  "assertions",
      +  "counts"
      +]
  4. Changed23 schema fields changed
    • addedOutput schema / $defs
      Added value: +{
      +  "Enum_186f4b1fcd46": {
      +    "enum": [
      +      "女",
      +      "男"
      +    ],
      +    "type": [
      +      "null",
      +      "string"
      +    ]
      +  },
      +  "Enum_644023795c29": {
      +    "enum": [
      +      "adversity",
      +      "appearance",
      +      "career",
      +      "chart_structure",
      +      "children",
      +      "family",
      +      "health",
      +      "marriage",
      +      "mental",
      +      "origin",
      +      "personality",
      +      "property",
      +      "relocation",
      +      "social",
      +      "study",
      +      "wealth"
      +    ],
      +    "type": "string"
      +  }
      +}
    • removedOutput schema / properties / bazi / properties / assertions / items / properties / evidence / items / properties / actual / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / bazi / properties / assertions / items / properties / evidence / items / properties / actual / type
      Added value: +[
      +  "null",
      +  "string"
      +]
    • removedOutput schema / properties / bazi / properties / assertions / items / properties / evidence / items / properties / condition_group / anyOf
      Removed value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / bazi / properties / assertions / items / properties / evidence / items / properties / condition_group / type
      Added value: +[
      +  "null",
      +  "integer"
      +]
    • removedOutput schema / properties / bazi / properties / assertions / items / properties / evidence / items / properties / expected / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / bazi / properties / assertions / items / properties / evidence / items / properties / expected / type
      Added value: +[
      +  "null",
      +  "string"
      +]
    • addedOutput schema / properties / bazi / properties / assertions / items / properties / evidence / items / properties / gender_scope / $ref
      Added value: +"#/$defs/Enum_186f4b1fcd46"
    • removedOutput schema / properties / bazi / properties / assertions / items / properties / evidence / items / properties / gender_scope / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "男",
      -      "女"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / bazi / properties / assertions / items / properties / life_topics / items / $ref
      Added value: +"#/$defs/Enum_644023795c29"
    • removedOutput schema / properties / bazi / properties / assertions / items / properties / life_topics / items / enum
      Removed value: -[
      -  "marriage",
      -  "family",
      -  "children",
      -  "career",
      -  "wealth",
      -  "health",
      -  "mental",
      -  "study",
      -  "personality",
      -  "appearance",
      -  "origin",
      -  "relocation",
      -  "social",
      -  "property",
      -  "adversity",
      -  "chart_structure"
      -]
    • removedOutput schema / properties / bazi / properties / assertions / items / properties / life_topics / items / type
      Removed value: -"string"
    • removedOutput schema / properties / ziwei / properties / assertions / items / properties / evidence / items / properties / actual / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / ziwei / properties / assertions / items / properties / evidence / items / properties / actual / type
      Added value: +[
      +  "null",
      +  "string"
      +]
    • removedOutput schema / properties / ziwei / properties / assertions / items / properties / evidence / items / properties / condition_group / anyOf
      Removed value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / ziwei / properties / assertions / items / properties / evidence / items / properties / condition_group / type
      Added value: +[
      +  "null",
      +  "integer"
      +]
    • removedOutput schema / properties / ziwei / properties / assertions / items / properties / evidence / items / properties / expected / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / ziwei / properties / assertions / items / properties / evidence / items / properties / expected / type
      Added value: +[
      +  "null",
      +  "string"
      +]
    • addedOutput schema / properties / ziwei / properties / assertions / items / properties / evidence / items / properties / gender_scope / $ref
      Added value: +"#/$defs/Enum_186f4b1fcd46"
    • removedOutput schema / properties / ziwei / properties / assertions / items / properties / evidence / items / properties / gender_scope / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "男",
      -      "女"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / ziwei / properties / assertions / items / properties / life_topics / items / $ref
      Added value: +"#/$defs/Enum_644023795c29"
    • removedOutput schema / properties / ziwei / properties / assertions / items / properties / life_topics / items / enum
      Removed value: -[
      -  "marriage",
      -  "family",
      -  "children",
      -  "career",
      -  "wealth",
      -  "health",
      -  "mental",
      -  "study",
      -  "personality",
      -  "appearance",
      -  "origin",
      -  "relocation",
      -  "social",
      -  "property",
      -  "adversity",
      -  "chart_structure"
      -]
    • removedOutput schema / properties / ziwei / properties / assertions / items / properties / life_topics / items / type
      Removed value: -"string"
  5. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered, but the description adds genuinely new behavioral facts: intermediate factor calculations happen server-side and are not returned, and the birth data '不得编造' (must not be fabricated). It does not discuss determinism of the judgment text or error conditions when subject data is inconsistent, which keeps it short of a 5.

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 arrow formulation front-loads input and output in a single compact clause, then immediately covers sourcing, alternatives, and internals with no filler. The telegraphic Chinese is dense enough that some clauses need re-reading, which is the only thing keeping it from a 5.

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 two-parameter tool with a nested subject object and an output schema, everything an agent needs is present: valid input sourcing, normalization rules, sibling routing, and the fact that internal factors are not surfaced. Nothing material is left to inference given that return values are documented by the output schema.

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 100%, so the baseline is 3, but the description adds sourcing semantics beyond the schema: where each subject field may legitimately come from (explicit facts, place lookup, confirmed candidates) and the normalization/confirmation step before querying. It adds little about how life_topics values map to output sections, hence 4 rather than 5.

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 states a concrete input→output transform: a schema-valid birth subject plus life questions produce a combined 八字/紫微 natal judgment. It explicitly separates this from bazi_chart / ziwei_chart (raw charts) and natal_liunian_query (year-by-year readings), so an agent can identify it without opening any schema.

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?

Both alternatives are named with the exact condition that selects them ('只要原始本命盘时' → bazi_chart / ziwei_chart; '逐年流年断语' → natal_liunian_query). It also prescribes the workflow for the subject argument: assemble from explicit user facts or a user-confirmed subject_candidates entry, and normalize plus confirm when the birth time is vague or multiple candidates exist.

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