Skip to main content
Glama
Ancient Echoes MCP

Ancient Echoes MCP

BaZi Chart

bazi.calculate_chart
Read-only

Calculates a BaZi main chart from an explicit birth or event time, or supplied four pillars, with solar-term boundaries, DST/true-solar-time notes, and minute-level luck-cycle data.

Instructions

按完整显式民用时刻或直接四柱计算八字主盘;current_snapshot 也必须由调用方传入快照时刻,绝不使用服务器当前时间。出生模式返回精确立春/十二节边界、晚子时口径、DST/真太阳时留痕和分钟级大运档案;直接四柱不反推历法日期或大运。

Input Schema

NameRequiredDescriptionDefault
dayNo
baziNo
hourNo
yearNo
monthNo
minuteNo
is_maleYes
latitudeNo
apply_dstNo按 IANA 历史规则把夏令钟表时手工回拨为标准时;请求与实际应用分别留痕
city_nameNo
longitudeNo
input_modeYes
timezone_idNo
birth_countryNo
calendar_typeNo
is_leap_monthNo
split_zi_hourNo
use_true_timeNo
birth_place_typeNo
cast_time_sourceYescurrent_snapshot 仅标记调用方已捕获的显式民用时刻;服务端不会读取当前时间
timezone_offset_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses a significant behavioral constraint: the server never reads the current time, and even current_snapshot must carry an explicit caller-captured timestamp. It also discloses the differences in output between birth and direct-pillars modes (no date/大运 back-inference), which is real behavioral context an agent could not get from annotations.

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?

Three dense clauses, front-loaded with the core action, then the no-server-time rule, then the per-mode return contract. No filler sentences; density is justified by a 21-parameter tool. The semicolon structure is readable and each clause earns its place.

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

Completeness3/5

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

For a complex tool with no output schema and sparse schema descriptions, the description does useful work by summarizing what birth mode returns and what direct-pillars mode omits. Still, key semantics — the required is_male flag, the zi-hour split convention beyond a mention, and calendar/leap-month handling — remain unexplained, leaving the definition short of fully self-sufficient.

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?

With 21 parameters and only 10% schema description coverage, the description carries most of the burden. It explains the input_mode split, cast_time_source semantics, and the DST/true-time intent, but leaves many parameters (is_male, split_zi_hour, calendar_type, is_leap_month, latitude/longitude pairing rules) undocumented in either place. Partial compensation, not full.

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 opens with a concrete verb+resource: computing the BaZi main chart (八字主盘), and immediately distinguishes the two input modes (explicit civil time vs. direct four pillars). It also makes clear this is the base chart calculator rather than one of the analysis siblings (analyze_wealth, compare_charts), though it never names a sibling 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?

It gives mode-level guidance: birth mode returns boundary/DST/true-time data, while direct-pillars mode does not back-infer calendrical dates or Dayun, and it warns that current_snapshot requires a caller-supplied time. However, it gives no guidance on choosing this tool versus the many bazi.* siblings (analyze_*, prepare_naming_context, compare_charts), which is left entirely to inference.

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