Skip to main content
Glama

Liki — Professional AI Astrologer

ziwei_bond

Read-onlyIdempotent

紫微合盘原始事实。a/b 必须是用户确认事实或 subject_candidates 归一化后的主体,不得手造模糊时间。用户询问两人关系并需要紫微侧证据时调用;八字干支与十神视角改用 bazi_bond,两者常配合使用。并排返回双方命宫、夫妻宫、子女宫主星;不做跨盘投射和合婚评级。

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": {
      "a": "<a>",
      "b": "<b>"
    },
    "name": "ziwei_bond"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes甲方:已归一化的出生主体。
bYes乙方:已归一化的出生主体。

Output Schema

NameRequiredDescriptionDefault
ming_gongYes双方本命宫。
fu_qi_gongYes双方夫妻宫。
zi_nv_gongYes双方子女宫。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / $defs / Object_135540fcadfb3552 / properties / subject / $ref
      Added value: +"#/$defs/Object_693482bdda0a9c8e"
    • removedInput schema / $defs / Object_135540fcadfb3552 / properties / subject / additionalProperties
      Removed value: -false
    • removedInput schema / $defs / Object_135540fcadfb3552 / properties / subject / properties
      Removed value: -{
      -  "gender": {
      -    "$ref": "#/$defs/Enum_f1c34956050abbed",
      -    "description": "性别;来自用户明确事实。"
      -  },
      -  "longitude": {
      -    "description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。",
      -    "maximum": 180,
      -    "minimum": -180,
      -    "type": "number"
      -  },
      -  "standard_time": {
      -    "description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。",
      -    "format": "date-time",
      -    "type": "string"
      -  }
      -}
    • removedInput schema / $defs / Object_135540fcadfb3552 / properties / subject / required
      Removed value: -[
      -  "standard_time",
      -  "longitude",
      -  "gender"
      -]
    • removedInput schema / $defs / Object_135540fcadfb3552 / properties / subject / type
      Removed value: -"object"
    • addedInput schema / $defs / Object_693482bdda0a9c8e
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "gender": {
      +      "$ref": "#/$defs/Enum_f1c34956050abbed",
      +      "description": "性别;来自用户明确事实。"
      +    },
      +    "longitude": {
      +      "description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。",
      +      "maximum": 180,
      +      "minimum": -180,
      +      "type": "number"
      +    },
      +    "standard_time": {
      +      "description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。",
      +      "format": "date-time",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "standard_time",
      +    "longitude",
      +    "gender"
      +  ],
      +  "type": "object"
      +}
  2. Changed27 schema fields changed
    • addedInput schema / $defs / Object_135540fcadfb3552
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "subject": {
      +      "additionalProperties": false,
      +      "description": "已归一化的出生主体。",
      +      "properties": {
      +        "gender": {
      +          "$ref": "#/$defs/Enum_f1c34956050abbed",
      +          "description": "性别;来自用户明确事实。"
      +        },
      +        "longitude": {
      +          "description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。",
      +          "maximum": 180,
      +          "minimum": -180,
      +          "type": "number"
      +        },
      +        "standard_time": {
      +          "description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。",
      +          "format": "date-time",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "standard_time",
      +        "longitude",
      +        "gender"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "subject"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / a / $ref
      Added value: +"#/$defs/Object_135540fcadfb3552"
    • removedInput schema / properties / a / additionalProperties
      Removed value: -false
    • removedInput schema / properties / a / properties
      Removed value: -{
      -  "subject": {
      -    "additionalProperties": false,
      -    "description": "已归一化的出生主体。",
      -    "properties": {
      -      "gender": {
      -        "$ref": "#/$defs/Enum_f1c34956050abbed",
      -        "description": "性别;来自用户明确事实。"
      -      },
      -      "longitude": {
      -        "description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。",
      -        "maximum": 180,
      -        "minimum": -180,
      -        "type": "number"
      -      },
      -      "standard_time": {
      -        "description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。",
      -        "format": "date-time",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "standard_time",
      -      "longitude",
      -      "gender"
      -    ],
      -    "type": "object"
      -  }
      -}
    • removedInput schema / properties / a / required
      Removed value: -[
      -  "subject"
      -]
    • removedInput schema / properties / a / type
      Removed value: -"object"
    • addedInput schema / properties / b / $ref
      Added value: +"#/$defs/Object_135540fcadfb3552"
    • removedInput schema / properties / b / additionalProperties
      Removed value: -false
    • removedInput schema / properties / b / properties
      Removed value: -{
      -  "subject": {
      -    "additionalProperties": false,
      -    "description": "已归一化的出生主体。",
      -    "properties": {
      -      "gender": {
      -        "$ref": "#/$defs/Enum_f1c34956050abbed",
      -        "description": "性别;来自用户明确事实。"
      -      },
      -      "longitude": {
      -        "description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。",
      -        "maximum": 180,
      -        "minimum": -180,
      -        "type": "number"
      -      },
      -      "standard_time": {
      -        "description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。",
      -        "format": "date-time",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "standard_time",
      -      "longitude",
      -      "gender"
      -    ],
      -    "type": "object"
      -  }
      -}
    • removedInput schema / properties / b / required
      Removed value: -[
      -  "subject"
      -]
    • removedInput schema / properties / b / type
      Removed value: -"object"
    • addedOutput schema / $defs
      Added value: +{
      +  "Object_8743d2d6d0f43da3": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "a": {
      +        "additionalProperties": false,
      +        "description": "甲方。",
      +        "properties": {
      +          "major_stars": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": [
      +              "null",
      +              "array"
      +            ]
      +          },
      +          "palace": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "palace",
      +          "major_stars"
      +        ],
      +        "type": "object"
      +      },
      +      "b": {
      +        "additionalProperties": false,
      +        "description": "乙方。",
      +        "properties": {
      +          "major_stars": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": [
      +              "null",
      +              "array"
      +            ]
      +          },
      +          "palace": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "palace",
      +          "major_stars"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "description": "主星状态说明。",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "a",
      +      "b",
      +      "status"
      +    ],
      +    "type": "object"
      +  }
      +}
    • addedOutput schema / properties / fu_qi_gong / $ref
      Added value: +"#/$defs/Object_8743d2d6d0f43da3"
    • removedOutput schema / properties / fu_qi_gong / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / fu_qi_gong / properties
      Removed value: -{
      -  "a": {
      -    "additionalProperties": false,
      -    "description": "甲方。",
      -    "properties": {
      -      "major_stars": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": [
      -          "null",
      -          "array"
      -        ]
      -      },
      -      "palace": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "palace",
      -      "major_stars"
      -    ],
      -    "type": "object"
      -  },
      -  "b": {
      -    "additionalProperties": false,
      -    "description": "乙方。",
      -    "properties": {
      -      "major_stars": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": [
      -          "null",
      -          "array"
      -        ]
      -      },
      -      "palace": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "palace",
      -      "major_stars"
      -    ],
      -    "type": "object"
      -  },
      -  "status": {
      -    "description": "主星状态说明。",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / fu_qi_gong / required
      Removed value: -[
      -  "a",
      -  "b",
      -  "status"
      -]
    • removedOutput schema / properties / fu_qi_gong / type
      Removed value: -"object"
    • addedOutput schema / properties / ming_gong / $ref
      Added value: +"#/$defs/Object_8743d2d6d0f43da3"
    • removedOutput schema / properties / ming_gong / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / ming_gong / properties
      Removed value: -{
      -  "a": {
      -    "additionalProperties": false,
      -    "description": "甲方。",
      -    "properties": {
      -      "major_stars": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": [
      -          "null",
      -          "array"
      -        ]
      -      },
      -      "palace": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "palace",
      -      "major_stars"
      -    ],
      -    "type": "object"
      -  },
      -  "b": {
      -    "additionalProperties": false,
      -    "description": "乙方。",
      -    "properties": {
      -      "major_stars": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": [
      -          "null",
      -          "array"
      -        ]
      -      },
      -      "palace": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "palace",
      -      "major_stars"
      -    ],
      -    "type": "object"
      -  },
      -  "status": {
      -    "description": "主星状态说明。",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / ming_gong / required
      Removed value: -[
      -  "a",
      -  "b",
      -  "status"
      -]
    • removedOutput schema / properties / ming_gong / type
      Removed value: -"object"
    • addedOutput schema / properties / zi_nv_gong / $ref
      Added value: +"#/$defs/Object_8743d2d6d0f43da3"
    • removedOutput schema / properties / zi_nv_gong / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / zi_nv_gong / properties
      Removed value: -{
      -  "a": {
      -    "additionalProperties": false,
      -    "description": "甲方。",
      -    "properties": {
      -      "major_stars": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": [
      -          "null",
      -          "array"
      -        ]
      -      },
      -      "palace": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "palace",
      -      "major_stars"
      -    ],
      -    "type": "object"
      -  },
      -  "b": {
      -    "additionalProperties": false,
      -    "description": "乙方。",
      -    "properties": {
      -      "major_stars": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": [
      -          "null",
      -          "array"
      -        ]
      -      },
      -      "palace": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "palace",
      -      "major_stars"
      -    ],
      -    "type": "object"
      -  },
      -  "status": {
      -    "description": "主星状态说明。",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / zi_nv_gong / required
      Removed value: -[
      -  "a",
      -  "b",
      -  "status"
      -]
    • removedOutput schema / properties / zi_nv_gong / type
      Removed value: -"object"
  3. Changed7 schema fields changed
    • addedInput schema / $defs
      Added value: +{
      +  "Enum_f1c34956050abbed": {
      +    "enum": [
      +      "male",
      +      "female"
      +    ],
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / a / properties / subject / properties / gender / $ref
      Added value: +"#/$defs/Enum_f1c34956050abbed"
    • removedInput schema / properties / a / properties / subject / properties / gender / enum
      Removed value: -[
      -  "male",
      -  "female"
      -]
    • removedInput schema / properties / a / properties / subject / properties / gender / type
      Removed value: -"string"
    • addedInput schema / properties / b / properties / subject / properties / gender / $ref
      Added value: +"#/$defs/Enum_f1c34956050abbed"
    • removedInput schema / properties / b / properties / subject / properties / gender / enum
      Removed value: -[
      -  "male",
      -  "female"
      -]
    • removedInput schema / properties / b / properties / subject / properties / gender / type
      Removed value: -"string"
  4. 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; the description adds real value by disclosing scope limits on output ('不做跨盘投射和合婚评级'), which prevents the agent from expecting a compatibility score. It also flags input-provenance discipline. It stops short of describing ambiguity/failure handling when a subject cannot be confirmed.

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?

Four compact sentences, front-loaded with identity, then input constraint, then routing, then output shape. No redundant restatement of annotations or schema fields.

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?

An output schema exists, so return values need not be spelled out, and the description still characterizes the return as parallel palace main stars. Input provenance, sibling routing, and output scope exclusions are all present; only edge-case handling for unconfirmable subjects is left implicit.

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 baseline is 3, but the description adds a constraint the schema only partially conveys: both a and b must be confirmed facts or normalized subject_candidates subjects, and fabricated approximate times are forbidden. That is a meaningful guardrail on how the nested subject objects must be populated.

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?

Names a specific resource and scope: '紫微合盘原始事实' with side-by-side return of both parties' 命宫/夫妻宫/子女宫 main stars, and explicitly excludes cross-chart projection and marriage rating. It also names the sibling it is not (bazi_bond) for the Bazi ganzhi/shishen angle, so an agent can route between them without opening the schema.

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

Usage Guidelines5/5

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

States the triggering condition ('用户询问两人关系并需要紫微侧证据时调用') and the alternative ('八字干支与十神视角改用 bazi_bond'), plus notes they are commonly paired. It also sets an admission precondition for inputs — subjects must be user-confirmed or normalized via subject_candidates, no fabricated vague times.

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