Skip to main content
Glama

Xuanji Oracle MCP

cast_bazi_chart

Read-onlyIdempotent

Calculate an exact deterministic Chinese Four Pillars (Bazi / 八字) natal chart from true solar time, returning Year/Month/Day/Hour pillars, Day Master (日主), Five Elements distribution, Favorable/Unfavorable Elements (喜用神/忌神), and 10-year Dayun luck cycles.

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": {
      "birth_date": "<birth_date>"
    },
    "name": "cast_bazi_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
placeNoOptional birth city for true solar longitude adjustment (e.g. 'Shanghai' or 'New York').
genderNoGender for Dayun cycle polarity.male
birth_dateYesSolar birth date in YYYY-MM-DD format (e.g. 1995-08-18).
birth_timeNo24-hour birth time HH:MM (default 12:00).12:00
unknown_timeNoSet true if birth hour is unknown (computes Three Pillars).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds that computation is deterministic and driven by true solar time, and — importantly, since there is no output schema — lists the returned fields. It says nothing about accuracy caveats or failure modes (e.g. what happens when birth_date is ambiguous or place is omitted), so the added behavioral context is useful but thin.

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?

A single front-loaded sentence with no filler, leading with the verb and resource before the output enumeration. The output list is dense but each item is substantive, so nothing needs cutting; the length is justified by the absence of an output schema.

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?

For a five-parameter, read-only computation tool with full schema coverage and no output schema, the definition covers purpose, computation basis, and return contents. The remaining gap is guidance on when this chart is the right call versus sibling tools, which an agent would still have to guess.

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

Parameters3/5

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

Schema description coverage is 100%, so every parameter is already documented in structured data. The phrase 'from true solar time' reinforces why the 'place' parameter exists, but otherwise the description adds no syntax, defaults, or constraints beyond the schema — the baseline 3 applies.

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

Purpose4/5

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

Uses a specific verb ('Calculate') with a precise resource ('Chinese Four Pillars (Bazi / 八字) natal chart') and enumerates exactly what the chart contains. It is clearly distinct in substance from the sibling divination tools, but it never names or contrasts an alternative, so it stops short of the top band.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of the sibling tools (cast_qimen_board, get_daily_oracle, preview_life_kline) that an agent would plausibly confuse it with. The use case is inferable only from the tool name and the word 'natal chart'.

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