Skip to main content
Glama

Liki — Professional AI Astrologer

xuankong_chart

Read-onlyIdempotent

玄空飞星起盘:按宅体事实日期(建成、入住或改宅)与二十四山坐向,排九宫飞星盘。评估阳宅固定风水格局时调用;流年飞星变化改用 xuankong_liunian。注意起盘日期不是命主出生时间。

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": {
      "standard_time": "<standard_time>",
      "zuo_shan": "<zuo_shan>",
      "xiang_shan": "<xiang_shan>"
    },
    "name": "xuankong_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
zuo_shanYes坐山,二十四山 index。
xiang_shanYes朝向;必须与坐山相对。
standard_timeYes宅运起盘地标准日期时间(无 DST),RFC3339 带 offset。

Output Schema

NameRequiredDescriptionDefault
yunYes三元九运。
gong_weiYes九宫运星/山星/向星。
zuo_shanYes坐山(0-23)。
xiang_shanYes向山(0-23)。
xing_jia_huiYes星加会。
fu_yin_layersYes伏吟层。
zuo_shan_nameYes坐山名。
fan_yin_layersYes反吟层。
four_situationYes四大局。
xiang_shan_nameYes向山名。
shou_shan_chu_shaYes收山出煞理气判断。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • addedOutput schema / $defs / Object_7c45c34b16f50ace
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "color": {
      +      "$ref": "#/$defs/Enum_61bd71e39773c401",
      +      "description": "紫白星颜色。"
      +    },
      +    "name": {
      +      "$ref": "#/$defs/Enum_b00fba477008276b",
      +      "description": "紫白星名。"
      +    },
      +    "number": {
      +      "description": "紫白星数。",
      +      "maximum": 9,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "wuxing": {
      +      "$ref": "#/$defs/Enum_c97a3d8aae122726",
      +      "description": "星五行。"
      +    }
      +  },
      +  "required": [
      +    "number",
      +    "color",
      +    "name",
      +    "wuxing"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / gong_wei / items / properties / shan_xing / $ref
      Added value: +"#/$defs/Object_7c45c34b16f50ace"
    • removedOutput schema / properties / gong_wei / items / properties / shan_xing / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / gong_wei / items / properties / shan_xing / properties
      Removed value: -{
      -  "color": {
      -    "$ref": "#/$defs/Enum_61bd71e39773c401",
      -    "description": "紫白星颜色。"
      -  },
      -  "name": {
      -    "$ref": "#/$defs/Enum_b00fba477008276b",
      -    "description": "紫白星名。"
      -  },
      -  "number": {
      -    "description": "紫白星数。",
      -    "maximum": 9,
      -    "minimum": 1,
      -    "type": "integer"
      -  },
      -  "wuxing": {
      -    "$ref": "#/$defs/Enum_c97a3d8aae122726",
      -    "description": "星五行。"
      -  }
      -}
    • removedOutput schema / properties / gong_wei / items / properties / shan_xing / required
      Removed value: -[
      -  "number",
      -  "color",
      -  "name",
      -  "wuxing"
      -]
    • removedOutput schema / properties / gong_wei / items / properties / shan_xing / type
      Removed value: -"object"
    • addedOutput schema / properties / gong_wei / items / properties / xiang_xing / $ref
      Added value: +"#/$defs/Object_7c45c34b16f50ace"
    • removedOutput schema / properties / gong_wei / items / properties / xiang_xing / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / gong_wei / items / properties / xiang_xing / properties
      Removed value: -{
      -  "color": {
      -    "$ref": "#/$defs/Enum_61bd71e39773c401",
      -    "description": "紫白星颜色。"
      -  },
      -  "name": {
      -    "$ref": "#/$defs/Enum_b00fba477008276b",
      -    "description": "紫白星名。"
      -  },
      -  "number": {
      -    "description": "紫白星数。",
      -    "maximum": 9,
      -    "minimum": 1,
      -    "type": "integer"
      -  },
      -  "wuxing": {
      -    "$ref": "#/$defs/Enum_c97a3d8aae122726",
      -    "description": "星五行。"
      -  }
      -}
    • removedOutput schema / properties / gong_wei / items / properties / xiang_xing / required
      Removed value: -[
      -  "number",
      -  "color",
      -  "name",
      -  "wuxing"
      -]
    • removedOutput schema / properties / gong_wei / items / properties / xiang_xing / type
      Removed value: -"object"
    • addedOutput schema / properties / gong_wei / items / properties / yun_xing / $ref
      Added value: +"#/$defs/Object_7c45c34b16f50ace"
    • removedOutput schema / properties / gong_wei / items / properties / yun_xing / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / gong_wei / items / properties / yun_xing / properties
      Removed value: -{
      -  "color": {
      -    "$ref": "#/$defs/Enum_61bd71e39773c401",
      -    "description": "紫白星颜色。"
      -  },
      -  "name": {
      -    "$ref": "#/$defs/Enum_b00fba477008276b",
      -    "description": "紫白星名。"
      -  },
      -  "number": {
      -    "description": "紫白星数。",
      -    "maximum": 9,
      -    "minimum": 1,
      -    "type": "integer"
      -  },
      -  "wuxing": {
      -    "$ref": "#/$defs/Enum_c97a3d8aae122726",
      -    "description": "星五行。"
      -  }
      -}
    • removedOutput schema / properties / gong_wei / items / properties / yun_xing / required
      Removed value: -[
      -  "number",
      -  "color",
      -  "name",
      -  "wuxing"
      -]
    • removedOutput schema / properties / gong_wei / items / properties / yun_xing / type
      Removed value: -"object"
  2. Changed34 schema fields changed
    • addedOutput schema / $defs
      Added value: +{
      +  "Enum_61bd71e39773c401": {
      +    "enum": [
      +      "白",
      +      "黑",
      +      "碧",
      +      "绿",
      +      "黄",
      +      "赤",
      +      "紫"
      +    ],
      +    "type": "string"
      +  },
      +  "Enum_b00fba477008276b": {
      +    "enum": [
      +      "一白贪狼",
      +      "二黑巨门",
      +      "三碧禄存",
      +      "四绿文曲",
      +      "五黄廉贞",
      +      "六白武曲",
      +      "七赤破军",
      +      "八白左辅",
      +      "九紫右弼"
      +    ],
      +    "type": "string"
      +  },
      +  "Enum_c97a3d8aae122726": {
      +    "enum": [
      +      "水",
      +      "土",
      +      "木",
      +      "金",
      +      "火"
      +    ],
      +    "type": "string"
      +  },
      +  "Enum_cee53bcbce10caa9": {
      +    "enum": [
      +      "子",
      +      "癸",
      +      "丑",
      +      "艮",
      +      "寅",
      +      "甲",
      +      "卯",
      +      "乙",
      +      "辰",
      +      "巽",
      +      "巳",
      +      "丙",
      +      "午",
      +      "丁",
      +      "未",
      +      "坤",
      +      "申",
      +      "庚",
      +      "酉",
      +      "辛",
      +      "戌",
      +      "乾",
      +      "亥",
      +      "壬"
      +    ],
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / gong_wei / items / properties / shan_xing / properties / color / $ref
      Added value: +"#/$defs/Enum_61bd71e39773c401"
    • removedOutput schema / properties / gong_wei / items / properties / shan_xing / properties / color / enum
      Removed value: -[
      -  "白",
      -  "黑",
      -  "碧",
      -  "绿",
      -  "黄",
      -  "赤",
      -  "紫"
      -]
    • removedOutput schema / properties / gong_wei / items / properties / shan_xing / properties / color / type
      Removed value: -"string"
    • addedOutput schema / properties / gong_wei / items / properties / shan_xing / properties / name / $ref
      Added value: +"#/$defs/Enum_b00fba477008276b"
    • removedOutput schema / properties / gong_wei / items / properties / shan_xing / properties / name / enum
      Removed value: -[
      -  "一白贪狼",
      -  "二黑巨门",
      -  "三碧禄存",
      -  "四绿文曲",
      -  "五黄廉贞",
      -  "六白武曲",
      -  "七赤破军",
      -  "八白左辅",
      -  "九紫右弼"
      -]
    • removedOutput schema / properties / gong_wei / items / properties / shan_xing / properties / name / type
      Removed value: -"string"
    • addedOutput schema / properties / gong_wei / items / properties / shan_xing / properties / wuxing / $ref
      Added value: +"#/$defs/Enum_c97a3d8aae122726"
    • removedOutput schema / properties / gong_wei / items / properties / shan_xing / properties / wuxing / enum
      Removed value: -[
      -  "水",
      -  "土",
      -  "木",
      -  "金",
      -  "火"
      -]
    • removedOutput schema / properties / gong_wei / items / properties / shan_xing / properties / wuxing / type
      Removed value: -"string"
    • addedOutput schema / properties / gong_wei / items / properties / xiang_xing / properties / color / $ref
      Added value: +"#/$defs/Enum_61bd71e39773c401"
    • removedOutput schema / properties / gong_wei / items / properties / xiang_xing / properties / color / enum
      Removed value: -[
      -  "白",
      -  "黑",
      -  "碧",
      -  "绿",
      -  "黄",
      -  "赤",
      -  "紫"
      -]
    • removedOutput schema / properties / gong_wei / items / properties / xiang_xing / properties / color / type
      Removed value: -"string"
    • addedOutput schema / properties / gong_wei / items / properties / xiang_xing / properties / name / $ref
      Added value: +"#/$defs/Enum_b00fba477008276b"
    • removedOutput schema / properties / gong_wei / items / properties / xiang_xing / properties / name / enum
      Removed value: -[
      -  "一白贪狼",
      -  "二黑巨门",
      -  "三碧禄存",
      -  "四绿文曲",
      -  "五黄廉贞",
      -  "六白武曲",
      -  "七赤破军",
      -  "八白左辅",
      -  "九紫右弼"
      -]
    • removedOutput schema / properties / gong_wei / items / properties / xiang_xing / properties / name / type
      Removed value: -"string"
    • addedOutput schema / properties / gong_wei / items / properties / xiang_xing / properties / wuxing / $ref
      Added value: +"#/$defs/Enum_c97a3d8aae122726"
    • removedOutput schema / properties / gong_wei / items / properties / xiang_xing / properties / wuxing / enum
      Removed value: -[
      -  "水",
      -  "土",
      -  "木",
      -  "金",
      -  "火"
      -]
    • removedOutput schema / properties / gong_wei / items / properties / xiang_xing / properties / wuxing / type
      Removed value: -"string"
    • addedOutput schema / properties / gong_wei / items / properties / yun_xing / properties / color / $ref
      Added value: +"#/$defs/Enum_61bd71e39773c401"
    • removedOutput schema / properties / gong_wei / items / properties / yun_xing / properties / color / enum
      Removed value: -[
      -  "白",
      -  "黑",
      -  "碧",
      -  "绿",
      -  "黄",
      -  "赤",
      -  "紫"
      -]
    • removedOutput schema / properties / gong_wei / items / properties / yun_xing / properties / color / type
      Removed value: -"string"
    • addedOutput schema / properties / gong_wei / items / properties / yun_xing / properties / name / $ref
      Added value: +"#/$defs/Enum_b00fba477008276b"
    • removedOutput schema / properties / gong_wei / items / properties / yun_xing / properties / name / enum
      Removed value: -[
      -  "一白贪狼",
      -  "二黑巨门",
      -  "三碧禄存",
      -  "四绿文曲",
      -  "五黄廉贞",
      -  "六白武曲",
      -  "七赤破军",
      -  "八白左辅",
      -  "九紫右弼"
      -]
    • removedOutput schema / properties / gong_wei / items / properties / yun_xing / properties / name / type
      Removed value: -"string"
    • addedOutput schema / properties / gong_wei / items / properties / yun_xing / properties / wuxing / $ref
      Added value: +"#/$defs/Enum_c97a3d8aae122726"
    • removedOutput schema / properties / gong_wei / items / properties / yun_xing / properties / wuxing / enum
      Removed value: -[
      -  "水",
      -  "土",
      -  "木",
      -  "金",
      -  "火"
      -]
    • removedOutput schema / properties / gong_wei / items / properties / yun_xing / properties / wuxing / type
      Removed value: -"string"
    • addedOutput schema / properties / xiang_shan_name / $ref
      Added value: +"#/$defs/Enum_cee53bcbce10caa9"
    • removedOutput schema / properties / xiang_shan_name / enum
      Removed value: -[
      -  "子",
      -  "癸",
      -  "丑",
      -  "艮",
      -  "寅",
      -  "甲",
      -  "卯",
      -  "乙",
      -  "辰",
      -  "巽",
      -  "巳",
      -  "丙",
      -  "午",
      -  "丁",
      -  "未",
      -  "坤",
      -  "申",
      -  "庚",
      -  "酉",
      -  "辛",
      -  "戌",
      -  "乾",
      -  "亥",
      -  "壬"
      -]
    • removedOutput schema / properties / xiang_shan_name / type
      Removed value: -"string"
    • addedOutput schema / properties / zuo_shan_name / $ref
      Added value: +"#/$defs/Enum_cee53bcbce10caa9"
    • removedOutput schema / properties / zuo_shan_name / enum
      Removed value: -[
      -  "子",
      -  "癸",
      -  "丑",
      -  "艮",
      -  "寅",
      -  "甲",
      -  "卯",
      -  "乙",
      -  "辰",
      -  "巽",
      -  "巳",
      -  "丙",
      -  "午",
      -  "丁",
      -  "未",
      -  "坤",
      -  "申",
      -  "庚",
      -  "酉",
      -  "辛",
      -  "戌",
      -  "乾",
      -  "亥",
      -  "壬"
      -]
    • removedOutput schema / properties / zuo_shan_name / 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 the safety profile is covered and the bar is lower. The description still adds genuine behavioral context: the date must be a dwelling-fact date (建成、入住或改宅) rather than a birth time, which prevents a whole class of incorrect invocations. It does not mention what happens when 坐山/朝向 are inconsistent, so it stops short of full disclosure.

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?

Three tight sentences: what it does, when to call / what to use instead, and the one input pitfall. The routing constraint is front-loaded ahead of the caveat, and nothing is repeated from the schema or annotations.

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 3-parameter read-only computation with a full output schema and readOnly/idempotent annotations, the description covers purpose, selection criteria against the nearest sibling, the correct date semantics, and the main misuse trap. Nothing needed for a correct call 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?

With 100% schema coverage the baseline is 3, but the description adds meaning the schema lacks: standard_time is defined as the dwelling's completion/move-in/renovation time, not the subject's birth time — a distinction absent from the schema's '宅运起盘地标准日期时间'. It does not add anything for zuo_shan/xiang_shan beyond the schema's 二十四山 index and opposition rule.

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

Purpose5/5

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

States a specific verb and artifact — 排九宫飞星盘 (arrange the nine-palace flying-star chart) — plus the two inputs that define it (宅体事实日期 and 二十四山坐向). It also names the sibling it is not (xuankong_liunian), so an agent can distinguish the fixed-layout chart from the annual-flying-star tool without opening either schema.

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

Usage Guidelines5/5

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

Explicit trigger: 评估阳宅固定风水格局时调用, with an explicit exclusion routing annual flying-star queries to xuankong_liunian. It further guards the most likely misuse by stating 起盘日期不是命主出生时间, telling the agent what input NOT to supply.

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