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. 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"
  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 safety is covered. The description adds genuinely non-obvious behavior: factor computation happens server-side and is not returned to the caller, and the subject must be normalized/confirmed before the call. It does not discuss failure modes for invalid inputs beyond the word 'schema 合法的', a minor remaining gap.

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?

Front-loaded arrow-form statement of input to output, followed by provenance guidance and sibling exclusions. Every clause carries routing or constraint information; there is no filler or restatement of the tool name.

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?

With an output schema present, return values need not be explained, and the description covers inputs, provenance, preconditions, and exclusions. It leaves only edge behavior (e.g., what happens when a subject fails validation or when life_topics combine broadly) to inference.

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 fields already carry provenance notes. The description still adds meaning by introducing subject_candidates as an alternate source for subject and by requiring normalization and confirmation, which constrains how the nested standard_time may legitimately be filled.

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 resource in a single formula: a schema-valid birth subject plus life topics produce a combined BaZi + Ziwei natal reading (八字与紫微本命合参断语). It also names the boundaries against siblings (raw chart tools, annual query), so an agent can tell it apart 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?

Explicit routing is given: use bazi_chart / ziwei_chart for a bare natal chart, and natal_liunian_query for year-by-year readings. It also prescribes the prerequisite workflow: build subject from explicit user facts or from user-confirmed subject_candidates, and normalize plus confirm when the birth time is fuzzy 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