Skip to main content
Glama

Liki — Professional AI Astrologer

liuyao_qigua

Read-only

六爻起卦事件创建。origin 与 casting_context(时间、经度、占问焦点)构成唯一不可变事件;起卦时按焦点确定性命理规则解析用神,并写入 event.casting_context.yong_shen。origin.mode=auto 每次都是新占卜事件,coins/yaos 可复现既有卦。question 由调用方持有,不进入 event。返回完整 event,后续 chart/ask 必须原样消费。

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
eventYes一次起卦创建的不可变卦象事件。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / $defs / Object_64137d1dacd76ce3
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "focus": {
      +      "oneOf": [
      +        {
      +          "$ref": "#/$defs/Object_6bd36358a17ac49d"
      +        },
      +        {
      +          "$ref": "#/$defs/Object_c3c2db4d55bdca3d"
      +        },
      +        {
      +          "$ref": "#/$defs/Object_8a836abf2b165381"
      +        }
      +      ]
      +    },
      +    "longitude": {
      +      "description": "起卦地经度(-180..180);真太阳时校正用于时辰。",
      +      "maximum": 180,
      +      "minimum": -180,
      +      "type": "number"
      +    },
      +    "standard_time": {
      +      "description": "起卦地标准时间(无 DST),RFC3339 带 offset。",
      +      "format": "date-time",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "standard_time",
      +    "longitude",
      +    "focus"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / $defs / Object_6bd36358a17ac49d
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "kind": {
      +      "const": "matter",
      +      "description": "焦点类型;matter 表示按问事类别推导。",
      +      "type": "string"
      +    },
      +    "matter": {
      +      "$ref": "#/$defs/Enum_1710231a5c1fca80",
      +      "description": "问事类别;relationship 需同时提供 perspective。"
      +    }
      +  },
      +  "required": [
      +    "kind",
      +    "matter"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / $defs / Object_8a836abf2b165381
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "kind": {
      +      "const": "yong_shen",
      +      "description": "焦点类型;yong_shen 表示显式用神。",
      +      "type": "string"
      +    },
      +    "yong_shen": {
      +      "$ref": "#/$defs/Enum_e395e1ceca9c15ee",
      +      "description": "高级显式用神。"
      +    }
      +  },
      +  "required": [
      +    "kind",
      +    "yong_shen"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / $defs / Object_c3c2db4d55bdca3d
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "kind": {
      +      "const": "matter",
      +      "description": "焦点类型;matter 表示按问事类别推导。",
      +      "type": "string"
      +    },
      +    "matter": {
      +      "const": "relationship",
      +      "description": "问事类别;relationship 需同时提供 perspective。",
      +      "type": "string"
      +    },
      +    "perspective": {
      +      "$ref": "#/$defs/Enum_f1c34956050abbed",
      +      "description": "仅 relationship 使用:问卦人性别,male 男占女,female 女占男。"
      +    }
      +  },
      +  "required": [
      +    "kind",
      +    "matter",
      +    "perspective"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "casting_context": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "focus": {
      -            "oneOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "kind": {
      -                    "const": "matter",
      -                    "description": "焦点类型;matter 表示按问事类别推导。",
      -                    "type": "string"
      -                  },
      -                  "matter": {
      -                    "$ref": "#/$defs/Enum_1710231a5c1fca80",
      -                    "description": "问事类别;relationship 需同时提供 perspective。"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "matter"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "kind": {
      -                    "const": "matter",
      -                    "description": "焦点类型;matter 表示按问事类别推导。",
      -                    "type": "string"
      -                  },
      -                  "matter": {
      -                    "const": "relationship",
      -                    "description": "问事类别;relationship 需同时提供 perspective。",
      -                    "type": "string"
      -                  },
      -                  "perspective": {
      -                    "$ref": "#/$defs/Enum_f1c34956050abbed",
      -                    "description": "仅 relationship 使用:问卦人性别,male 男占女,female 女占男。"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "matter",
      -                  "perspective"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "kind": {
      -                    "const": "yong_shen",
      -                    "description": "焦点类型;yong_shen 表示显式用神。",
      -                    "type": "string"
      -                  },
      -                  "yong_shen": {
      -                    "$ref": "#/$defs/Enum_e395e1ceca9c15ee",
      -                    "description": "高级显式用神。"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "yong_shen"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "longitude": {
      -            "description": "起卦地经度(-180..180);真太阳时校正用于时辰。",
      -            "maximum": 180,
      -            "minimum": -180,
      -            "type": "number"
      -          },
      -          "standard_time": {
      -            "description": "起卦地标准时间(无 DST),RFC3339 带 offset。",
      -            "format": "date-time",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "standard_time",
      -          "longitude",
      -          "focus"
      -        ],
      -        "type": "object"
      -      },
      -      "origin": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "mode": {
      -            "const": "auto",
      -            "description": "起卦模式;auto 使用安全随机。",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "mode"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "origin",
      -      "casting_context"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "casting_context": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "focus": {
      -            "oneOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "kind": {
      -                    "const": "matter",
      -                    "description": "焦点类型;matter 表示按问事类别推导。",
      -                    "type": "string"
      -                  },
      -                  "matter": {
      -                    "$ref": "#/$defs/Enum_1710231a5c1fca80",
      -                    "description": "问事类别;relationship 需同时提供 perspective。"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "matter"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "kind": {
      -                    "const": "matter",
      -                    "description": "焦点类型;matter 表示按问事类别推导。",
      -                    "type": "string"
      -                  },
      -                  "matter": {
      -                    "const": "relationship",
      -                    "description": "问事类别;relationship 需同时提供 perspective。",
      -                    "type": "string"
      -                  },
      -                  "perspective": {
      -                    "$ref": "#/$defs/Enum_f1c34956050abbed",
      -                    "description": "仅 relationship 使用:问卦人性别,male 男占女,female 女占男。"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "matter",
      -                  "perspective"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "kind": {
      -                    "const": "yong_shen",
      -                    "description": "焦点类型;yong_shen 表示显式用神。",
      -                    "type": "string"
      -                  },
      -                  "yong_shen": {
      -                    "$ref": "#/$defs/Enum_e395e1ceca9c15ee",
      -                    "description": "高级显式用神。"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "yong_shen"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "longitude": {
      -            "description": "起卦地经度(-180..180);真太阳时校正用于时辰。",
      -            "maximum": 180,
      -            "minimum": -180,
      -            "type": "number"
      -          },
      -          "standard_time": {
      -            "description": "起卦地标准时间(无 DST),RFC3339 带 offset。",
      -            "format": "date-time",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "standard_time",
      -          "longitude",
      -          "focus"
      -        ],
      -        "type": "object"
      -      },
      -      "origin": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "mode": {
      -            "const": "coins",
      -            "description": "起卦模式;coins 要求六组铜钱记录。",
      -            "type": "string"
      -          },
      -          "rounds": {
      -            "description": "六组三枚铜钱,初爻到上爻。",
      -            "items": {
      -              "items": {
      -                "enum": [
      -                  "正",
      -                  "反"
      -                ],
      -                "type": "string"
      -              },
      -              "maxItems": 3,
      -              "minItems": 3,
      -              "type": "array"
      -            },
      -            "maxItems": 6,
      -            "minItems": 6,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "rounds"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "origin",
      -      "casting_context"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "casting_context": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "focus": {
      -            "oneOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "kind": {
      -                    "const": "matter",
      -                    "description": "焦点类型;matter 表示按问事类别推导。",
      -                    "type": "string"
      -                  },
      -                  "matter": {
      -                    "$ref": "#/$defs/Enum_1710231a5c1fca80",
      -                    "description": "问事类别;relationship 需同时提供 perspective。"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "matter"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "kind": {
      -                    "const": "matter",
      -                    "description": "焦点类型;matter 表示按问事类别推导。",
      -                    "type": "string"
      -                  },
      -                  "matter": {
      -                    "const": "relationship",
      -                    "description": "问事类别;relationship 需同时提供 perspective。",
      -                    "type": "string"
      -                  },
      -                  "perspective": {
      -                    "$ref": "#/$defs/Enum_f1c34956050abbed",
      -                    "description": "仅 relationship 使用:问卦人性别,male 男占女,female 女占男。"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "matter",
      -                  "perspective"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "kind": {
      -                    "const": "yong_shen",
      -                    "description": "焦点类型;yong_shen 表示显式用神。",
      -                    "type": "string"
      -                  },
      -                  "yong_shen": {
      -                    "$ref": "#/$defs/Enum_e395e1ceca9c15ee",
      -                    "description": "高级显式用神。"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "yong_shen"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "longitude": {
      -            "description": "起卦地经度(-180..180);真太阳时校正用于时辰。",
      -            "maximum": 180,
      -            "minimum": -180,
      -            "type": "number"
      -          },
      -          "standard_time": {
      -            "description": "起卦地标准时间(无 DST),RFC3339 带 offset。",
      -            "format": "date-time",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "standard_time",
      -          "longitude",
      -          "focus"
      -        ],
      -        "type": "object"
      -      },
      -      "origin": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "mode": {
      -            "const": "yaos",
      -            "description": "起卦模式;yaos 要求六个爻值。",
      -            "type": "string"
      -          },
      -          "yaos": {
      -            "description": "六个爻值,初爻到上爻。",
      -            "items": {
      -              "maximum": 9,
      -              "minimum": 6,
      -              "type": "integer"
      -            },
      -            "maxItems": 6,
      -            "minItems": 6,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "yaos"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "origin",
      -      "casting_context"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "casting_context": {
      +        "$ref": "#/$defs/Object_64137d1dacd76ce3"
      +      },
      +      "origin": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "mode": {
      +            "const": "auto",
      +            "description": "起卦模式;auto 使用安全随机。",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "mode"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "origin",
      +      "casting_context"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "casting_context": {
      +        "$ref": "#/$defs/Object_64137d1dacd76ce3"
      +      },
      +      "origin": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "mode": {
      +            "const": "coins",
      +            "description": "起卦模式;coins 要求六组铜钱记录。",
      +            "type": "string"
      +          },
      +          "rounds": {
      +            "description": "六组三枚铜钱,初爻到上爻。",
      +            "items": {
      +              "items": {
      +                "enum": [
      +                  "正",
      +                  "反"
      +                ],
      +                "type": "string"
      +              },
      +              "maxItems": 3,
      +              "minItems": 3,
      +              "type": "array"
      +            },
      +            "maxItems": 6,
      +            "minItems": 6,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "rounds"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "origin",
      +      "casting_context"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "casting_context": {
      +        "$ref": "#/$defs/Object_64137d1dacd76ce3"
      +      },
      +      "origin": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "mode": {
      +            "const": "yaos",
      +            "description": "起卦模式;yaos 要求六个爻值。",
      +            "type": "string"
      +          },
      +          "yaos": {
      +            "description": "六个爻值,初爻到上爻。",
      +            "items": {
      +              "maximum": 9,
      +              "minimum": 6,
      +              "type": "integer"
      +            },
      +            "maxItems": 6,
      +            "minItems": 6,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "yaos"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "origin",
      +      "casting_context"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the event is immutable, yong_shen is resolved deterministically from the focus and written into event.casting_context.yong_shen, and auto mode is non-idempotent (matching idempotentHint=false). It also discloses a non-obvious data-boundary rule — 'question 由调用方持有,不进入 event' — that an agent could not infer from the schema.

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?

Five dense sentences, purpose front-loaded, with no filler. The compression is heavy (treating 'origin + casting_context = immutable event' as a single clause), which is efficient but assumes a reader comfortable with the domain vocabulary.

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?

Given an output schema exists, the description needn't enumerate return fields, yet it still states that a full event is returned and how downstream tools must consume it. Combined with the annotations, immutability, determinism, mode semantics and data boundaries are all covered.

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 description coverage is 100% and there are no top-level named parameters, so the baseline is already high. The description still adds meaning the schema cannot convey: question is deliberately excluded from the event payload, and the returned event must be passed through unmodified rather than re-derived.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('六爻起卦事件创建') and immediately defines what constitutes the event (origin + casting_context). It also positions itself in the pipeline by naming 'chart/ask' as consumers of the returned event, which distinguishes it from those siblings without needing their schemas.

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

Usage Guidelines4/5

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

Gives concrete mode-selection guidance: 'origin.mode=auto' for a fresh divination each time, 'coins/yaos' to reproduce an existing hexagram. It stops short of an explicit exclusion ('if you already have an event, do not re-cast'), though that is strongly implied by the '必须原样消费' instruction to downstream tools.

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