Skip to main content
Glama
willfate
by gro83j

bazi_pillars_resolve

Reverse-resolve known Four Pillars into candidate Gregorian birth dates and times. Use it to reconstruct possible BaZi birth charts from year, month, day, and hour pillars.

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": {
      "yearPillar": "<yearPillar>",
      "monthPillar": "<monthPillar>",
      "dayPillar": "<dayPillar>",
      "hourPillar": "<hourPillar>"
    },
    "name": "bazi_pillars_resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveAsNo可选:将该盘面自动缓存到 ~/.willfate/charts/<saveAs>.json 与 .md
dayPillarYes
hourPillarYes
yearPillarYes
monthPillarYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and mostly does not meet it. The word '候选' usefully signals that results are multiple/ambiguous rather than a single answer, but nothing is said about how many candidates typically result, how ambiguity is ranked, or what the caller does with several matches.

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 or redundancy; the premise (known pillars) precedes the operation (reverse derivation) and the output (candidate birth times). It is efficient, though its brevity contributes to the coverage gaps elsewhere.

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?

For an inverse-solve tool with five parameters, no annotations, and no output schema, the description is thin: it says nothing about result cardinality, ambiguity handling, or the saveAs caching side effect beyond what the schema string already states. An agent knows the intent but not what to expect back.

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 coverage is only 20% – four of five parameters have empty schemas with no type or description – so the description must compensate. It does convey that these four are the four pillars expressed in ganzhi, which is the key semantic, but it gives no format convention (Chinese characters vs. pinyin) or ordering hints.

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?

States a specific verb-resource pair: back-derive (反推) candidate Gregorian birth times (候选公历出生时间) from known four-pillar ganzhi. An agent can tell this is the inverse of the forward charting tools in the sibling list, though the description never names that counterpart explicitly.

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

Usage Guidelines3/5

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

Usage is only implied by the phrase '已知四柱干支' – i.e. use this when you already hold the four pillars rather than a birth date. There is no explicit when-to-use/when-not-to-use guidance and no named alternative such as the forward bazi tool.

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