Skip to main content
Glama

Shichu Suimei Keisan — Four Pillars of Destiny (BaZi) Calculator

Calculate Four Pillars compatibility (四柱推命 相性診断)

calculate_compatibility
Read-onlyIdempotent

Compute Japanese Four Pillars (Shichu Suimei / BaZi) compatibility between two people from their Gregorian birth dates and optional birth times. Returns Day Stem relation (干合・相生・比和・相剋), Day & Month Branch relations (支合・半会・冲・刑・害・破), mutual Ten Gods (通変星), complementary Five Elements (五行), and shared Tenchusatsu (空亡).

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": {
      "personA": "<personA>",
      "personB": "<personB>"
    },
    "name": "calculate_compatibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
personAYes
personBYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the bar is low, and the description adds real value by enumerating the analytical output classes (Stem/Branch relations, Ten Gods, Five Elements, Tenchusatsu) that no output schema documents. It does not disclose the consequence of omitting birthTime (loss of the hour pillar / reduced precision) or how timezone is resolved beyond the schema's JST note.

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?

Two sentences, purpose front-loaded before the output enumeration; the long relation list earns its place because no output schema exists. Slightly dense with dual-script alchemical terms, but nothing is redundant.

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 nested-object, no-output-schema tool, the description adequately covers inputs (dates + optional times) and outputs (enumerated relation categories). Gaps remain around hour-pillar omission behavior and gender's role, but the core is complete enough to call correctly.

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?

Context reports 0% schema description coverage, but the schema itself actually documents every leaf field (format, range, JST), so the description only reinforces 'Gregorian birth dates and optional birth times.' It does not explain the nested personA/personB structure or whether gender materially affects the calculation, leaving the burden on the schema.

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?

Opens with a specific verb and resource: 'Compute Japanese Four Pillars (Shichu Suimei / BaZi) compatibility between two people,' which makes the dyadic scope unmistakable versus the sibling calculate_four_pillars (a single chart). It never names that sibling, so the differentiation is implicit from the scope wording rather than stated.

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?

The required inputs (two birth dates, optional birth times) imply when the tool applies, but there is no explicit when-to-use, when-not-to-use, or pointer to the single-person alternative. An agent can infer the use case but gets no routing guidance.

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