Skip to main content
Glama

Liki — Professional AI Astrologer (moved)

This connector has been deprecated

instead by hk.liki/liki

bazhai_chart

Read-onlyIdempotent

八宅排盘:由已校准 subject 推导出生年与性别,排命卦、四吉四凶方与出生年紫白飞星。subject 必须来自用户确认事实或 subject_candidates;时间或性别非法时返回错误,不猜测出生时辰。住宅风水评估、命卦方位吉凶类问题调用;门/主/灶配合改用 bazhai_layout。八宅不与八字四柱合参。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "subject": "<subject>"
    },
    "name": "bazhai_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectYes八宅命卦主体。

Output Schema

NameRequiredDescriptionDefault
ming_guaYes命卦。
ba_zhai_dirsYes四吉四凶方向。
birth_year_xingYes出生年紫白飞星。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed43 schema fields changed
    • addedOutput schema / $defs
      Added value: +{
      +  "Enum_1bbaa6d8524570cb": {
      +    "enum": [
      +      "北",
      +      "东北",
      +      "东",
      +      "东南",
      +      "南",
      +      "西南",
      +      "西",
      +      "西北"
      +    ],
      +    "type": "string"
      +  },
      +  "Enum_27246d84eb3aef85": {
      +    "enum": [
      +      "lichun"
      +    ],
      +    "type": "string"
      +  },
      +  "Enum_b00fba477008276b": {
      +    "enum": [
      +      "一白贪狼",
      +      "二黑巨门",
      +      "三碧禄存",
      +      "四绿文曲",
      +      "五黄廉贞",
      +      "六白武曲",
      +      "七赤破军",
      +      "八白左辅",
      +      "九紫右弼"
      +    ],
      +    "type": "string"
      +  },
      +  "Enum_c97a3d8aae122726": {
      +    "enum": [
      +      "水",
      +      "土",
      +      "木",
      +      "金",
      +      "火"
      +    ],
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / ba_zhai_dirs / properties / fu_wei / $ref
      Added value: +"#/$defs/Enum_1bbaa6d8524570cb"
    • removedOutput schema / properties / ba_zhai_dirs / properties / fu_wei / enum
      Removed value: -[
      -  "北",
      -  "东北",
      -  "东",
      -  "东南",
      -  "南",
      -  "西南",
      -  "西",
      -  "西北"
      -]
    • removedOutput schema / properties / ba_zhai_dirs / properties / fu_wei / type
      Removed value: -"string"
    • addedOutput schema / properties / ba_zhai_dirs / properties / huo_hai / $ref
      Added value: +"#/$defs/Enum_1bbaa6d8524570cb"
    • removedOutput schema / properties / ba_zhai_dirs / properties / huo_hai / enum
      Removed value: -[
      -  "北",
      -  "东北",
      -  "东",
      -  "东南",
      -  "南",
      -  "西南",
      -  "西",
      -  "西北"
      -]
    • removedOutput schema / properties / ba_zhai_dirs / properties / huo_hai / type
      Removed value: -"string"
    • addedOutput schema / properties / ba_zhai_dirs / properties / jue_ming / $ref
      Added value: +"#/$defs/Enum_1bbaa6d8524570cb"
    • removedOutput schema / properties / ba_zhai_dirs / properties / jue_ming / enum
      Removed value: -[
      -  "北",
      -  "东北",
      -  "东",
      -  "东南",
      -  "南",
      -  "西南",
      -  "西",
      -  "西北"
      -]
    • removedOutput schema / properties / ba_zhai_dirs / properties / jue_ming / type
      Removed value: -"string"
    • addedOutput schema / properties / ba_zhai_dirs / properties / liu_sha / $ref
      Added value: +"#/$defs/Enum_1bbaa6d8524570cb"
    • removedOutput schema / properties / ba_zhai_dirs / properties / liu_sha / enum
      Removed value: -[
      -  "北",
      -  "东北",
      -  "东",
      -  "东南",
      -  "南",
      -  "西南",
      -  "西",
      -  "西北"
      -]
    • removedOutput schema / properties / ba_zhai_dirs / properties / liu_sha / type
      Removed value: -"string"
    • addedOutput schema / properties / ba_zhai_dirs / properties / sheng_qi / $ref
      Added value: +"#/$defs/Enum_1bbaa6d8524570cb"
    • removedOutput schema / properties / ba_zhai_dirs / properties / sheng_qi / enum
      Removed value: -[
      -  "北",
      -  "东北",
      -  "东",
      -  "东南",
      -  "南",
      -  "西南",
      -  "西",
      -  "西北"
      -]
    • removedOutput schema / properties / ba_zhai_dirs / properties / sheng_qi / type
      Removed value: -"string"
    • addedOutput schema / properties / ba_zhai_dirs / properties / tian_yi / $ref
      Added value: +"#/$defs/Enum_1bbaa6d8524570cb"
    • removedOutput schema / properties / ba_zhai_dirs / properties / tian_yi / enum
      Removed value: -[
      -  "北",
      -  "东北",
      -  "东",
      -  "东南",
      -  "南",
      -  "西南",
      -  "西",
      -  "西北"
      -]
    • removedOutput schema / properties / ba_zhai_dirs / properties / tian_yi / type
      Removed value: -"string"
    • addedOutput schema / properties / ba_zhai_dirs / properties / wu_gui / $ref
      Added value: +"#/$defs/Enum_1bbaa6d8524570cb"
    • removedOutput schema / properties / ba_zhai_dirs / properties / wu_gui / enum
      Removed value: -[
      -  "北",
      -  "东北",
      -  "东",
      -  "东南",
      -  "南",
      -  "西南",
      -  "西",
      -  "西北"
      -]
    • removedOutput schema / properties / ba_zhai_dirs / properties / wu_gui / type
      Removed value: -"string"
    • addedOutput schema / properties / ba_zhai_dirs / properties / yan_nian / $ref
      Added value: +"#/$defs/Enum_1bbaa6d8524570cb"
    • removedOutput schema / properties / ba_zhai_dirs / properties / yan_nian / enum
      Removed value: -[
      -  "北",
      -  "东北",
      -  "东",
      -  "东南",
      -  "南",
      -  "西南",
      -  "西",
      -  "西北"
      -]
    • removedOutput schema / properties / ba_zhai_dirs / properties / yan_nian / type
      Removed value: -"string"
    • addedOutput schema / properties / birth_year_xing / properties / gong_wei / items / properties / wuxing / $ref
      Added value: +"#/$defs/Enum_c97a3d8aae122726"
    • removedOutput schema / properties / birth_year_xing / properties / gong_wei / items / properties / wuxing / enum
      Removed value: -[
      -  "水",
      -  "土",
      -  "木",
      -  "金",
      -  "火"
      -]
    • removedOutput schema / properties / birth_year_xing / properties / gong_wei / items / properties / wuxing / type
      Removed value: -"string"
    • addedOutput schema / properties / birth_year_xing / properties / gong_wei / items / properties / xing_name / $ref
      Added value: +"#/$defs/Enum_b00fba477008276b"
    • removedOutput schema / properties / birth_year_xing / properties / gong_wei / items / properties / xing_name / enum
      Removed value: -[
      -  "一白贪狼",
      -  "二黑巨门",
      -  "三碧禄存",
      -  "四绿文曲",
      -  "五黄廉贞",
      -  "六白武曲",
      -  "七赤破军",
      -  "八白左辅",
      -  "九紫右弼"
      -]
    • removedOutput schema / properties / birth_year_xing / properties / gong_wei / items / properties / xing_name / type
      Removed value: -"string"
    • addedOutput schema / properties / birth_year_xing / properties / ru_zhong / $ref
      Added value: +"#/$defs/Enum_b00fba477008276b"
    • removedOutput schema / properties / birth_year_xing / properties / ru_zhong / enum
      Removed value: -[
      -  "一白贪狼",
      -  "二黑巨门",
      -  "三碧禄存",
      -  "四绿文曲",
      -  "五黄廉贞",
      -  "六白武曲",
      -  "七赤破军",
      -  "八白左辅",
      -  "九紫右弼"
      -]
    • removedOutput schema / properties / birth_year_xing / properties / ru_zhong / type
      Removed value: -"string"
    • addedOutput schema / properties / birth_year_xing / properties / year_boundary / $ref
      Added value: +"#/$defs/Enum_27246d84eb3aef85"
    • removedOutput schema / properties / birth_year_xing / properties / year_boundary / enum
      Removed value: -[
      -  "lichun"
      -]
    • removedOutput schema / properties / birth_year_xing / properties / year_boundary / type
      Removed value: -"string"
    • addedOutput schema / properties / ming_gua / properties / gua / properties / wuxing / $ref
      Added value: +"#/$defs/Enum_c97a3d8aae122726"
    • removedOutput schema / properties / ming_gua / properties / gua / properties / wuxing / enum
      Removed value: -[
      -  "水",
      -  "土",
      -  "木",
      -  "金",
      -  "火"
      -]
    • removedOutput schema / properties / ming_gua / properties / gua / properties / wuxing / type
      Removed value: -"string"
    • addedOutput schema / properties / ming_gua / properties / year_boundary / $ref
      Added value: +"#/$defs/Enum_27246d84eb3aef85"
    • removedOutput schema / properties / ming_gua / properties / year_boundary / enum
      Removed value: -[
      -  "lichun"
      -]
    • removedOutput schema / properties / ming_gua / properties / year_boundary / type
      Removed value: -"string"
  2. 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 description's added value is the failure contract: invalid time or gender returns an error and the tool will not guess the birth hour. It also constrains input provenance to user-confirmed facts or subject_candidates, which is real behavioral context beyond the annotations. Return values are left to the output schema, which exists.

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?

Front-loaded with the operation, then provenance, then error behavior, then routing to the sibling. Dense but every clause carries information; the only mild cost is that several constraints are packed into single sentences.

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?

Covers purpose, input provenance, error behavior, and sibling routing, while annotations carry the safety profile and an output schema exists to explain returns. Nothing an agent needs in order to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the nested subject object is documented, so the baseline is 3. The description adds meaning the schema cannot express: the subject must originate from confirmed facts or subject_candidates, and standard_time is used for the 立春 year boundary, clarifying why the field matters.

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 verb and resource set: derives birth year and gender from a calibrated subject, then computes 命卦, 四吉四凶方, and 出生年紫白飞星. It explicitly separates itself from bazhai_layout (门/主/灶), so an agent can distinguish the two 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?

States the triggering question class (住宅风水评估、命卦方位吉凶) and names the alternative for the door/main-stove case (bazhai_layout). It also adds a negative rule — 八宅不与八字四柱合参 — which prevents a plausible misuse with the bazi siblings.

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