Skip to main content
Glama
willfate
by gro83j

bazi

Generate Four Pillars charts with true solar time adjusted by birthplace longitude, plus Ten Gods, Shen Sha, and hidden stems for Chinese astrology readings.

Instructions

四柱八字排盘(支持出生地经度换算真太阳时、十神、神煞、藏干)

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": {
      "gender": "<gender>",
      "birthYear": "<birthYear>",
      "birthMonth": "<birthMonth>",
      "birthDay": "<birthDay>",
      "birthHour": "<birthHour>"
    },
    "name": "bazi"
  }
}

Input Schema

NameRequiredDescriptionDefault
genderYes
saveAsNo可选:将该盘面自动缓存到 ~/.willfate/charts/<saveAs>.json 与 .md
birthDayYes
birthHourYes
birthYearYes
birthMonthYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full disclosure burden, and it does not. It does not mention that the saveAs parameter writes files to disk (~/.willfate/charts/), and it advertises birth-longitude true-solar-time conversion even though no longitude parameter exists in the schema, which misleads about capabilities.

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?

The definition is a single tight parenthetical sentence that front-loads the core action and then lists supported features. It wastes no words, though its brevity is achieved partly by omitting information the caller needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six parameters, five of them required, almost no schema documentation, and no output schema, this tool needs a richer definition. The description leaves the calendar convention, input formats, and the on-disk caching side effect entirely unexplained, so the agent cannot reliably construct a valid call from it.

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

Parameters2/5

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

Schema description coverage is only 17%: saveAs is documented, but gender, birthYear, birthMonth, birthDay, and birthHour are bare untyped properties. The description does not compensate at all; it never says whether dates are solar or lunar, how gender is encoded, or what range birthHour takes, all of which are essential to call this correctly.

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?

The description gives a specific verb and resource: it computes a Four Pillars (BaZi) chart, and it lists the components included (Ten Gods, Shen Sha, hidden stems) plus true solar time correction. That is enough to distinguish it from divination siblings such as liuyao or tarot, but it never explicitly separates it from bazi_dayun or bazi_pillars_resolve, so the agent must infer that this is the base natal chart.

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 statement of when to call this tool versus bazi_dayun, bazi_pillars_resolve, ziwei, or the other chart tools, and no prerequisites are given. The description assumes the agent already knows what a BaZi chart is and when one is wanted.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.