Skip to main content
Glama

cafe-mcp

Saju / BaZi natal chart

saju_chart
Read-onlyIdempotent

Four Pillars (四柱八字) natal chart: year/month/day/hour stems and branches, Ten Gods (十神), hidden stems, five-element ratios, Spirit Stars (神殺) and Twelve Life Stages (十二運星) per pillar. The foundation other tools build on. Use for 'show my saju / bazi chart', '내 사주 봐줘'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
locNo24Plus world-city ID for births outside Korea.
sexNoSex at birth; sets the direction of the 10-year luck cycles. Required unless legacy 'gender' is given.
nameNoOptional display name.
birthYesLocal birth date and time. ISO 8601 'YYYY-MM-DDTHH:mm' (e.g. 1990-01-15T10:30) or legacy 12 digits 'YYYYMMDDHHmm'. Use 12:30 when the time is unknown and set time_unknown.
genderNoLegacy form of sex: 0 female, 1 male.
option1NoLegacy form of rat_hour_rule (1 = early).
option2NoLegacy form of year_boundary (-1 = winter_solstice).
calendarNoCalendar of the birth date. Default solar.
is_lunarNoLegacy form of calendar=lunar.
timezoneNoIANA time zone of the birthplace. Asia/Seoul is supported directly; for births elsewhere pass 'loc'.
is_leap_yearNoLegacy form of lunar_leap_month.
time_unknownNoBirth time unknown; the hour pillar is marked as estimated.
rat_hour_ruleNoRat-hour (子時) rule: 'late' 야자시 (default) or 'early' 조자시.
year_boundaryNoYear pillar boundary: 'lichun' 입춘 (default) or 'winter_solstice' 동지.
lunar_leap_monthNoLunar leap month (윤달). Only with calendar=lunar.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
toolYes
basisNoChart basis text ([기본정보]): pillars, calendar/season basis, luck-cycle start.
linksYes
engineYes
contractYes
disclaimerYes
input_echoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is well covered. The description adds useful context about chart content and foundational role, but it does not disclose operational behaviors such as how unknown birth time is handled, timezone assumptions, or how lunar/legacy parameters affect computation. With annotations present, this is an acceptable but not rich disclosure.

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?

The description is three sentences with no filler. The first sentence front-loads the chart contents, the second establishes its role relative to other tools, and the third gives concrete usage examples. Every sentence earns its place and the structure is easy to scan.

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?

Given the tool's complexity (15 parameters) but the presence of a rich input schema and an output schema, the description does not need to restate parameter details or return values. It provides the key contextual signals an agent needs for selection: what the chart contains, that it is foundational, and example user phrasings. A small gap is the lack of any hint about when not to use this tool or which sibling addresses more specialized chart-reading tasks.

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 the schema already documents every parameter. The description adds no parameter-level meaning beyond what the schema provides. Per the baseline rule, a 3 is appropriate when the schema carries the full semantic burden.

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 clearly explains that the tool produces a Four Pillars natal chart and enumerates the chart components (stems/branches, Ten Gods, hidden stems, five-element ratios, Spirit Stars, Twelve Life Stages). It does not use a direct verb like 'calculate' or 'generate', and it does not explicitly contrast itself with any sibling tool, though labeling it 'the foundation other tools build on' provides some positional clarity.

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

Usage Guidelines4/5

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

The description gives explicit user-intent examples ('show my saju / bazi chart', '내 사주 봐줘'), which tells an agent when to invoke this tool. It also states that it is the foundation for other tools, implying it is the right first step for chart-related requests. It does not enumerate exclusions or alternative tool conditions, so it stops short of a 5.

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.