Skip to main content
Glama

calculate_bazi_compatibility

Compare two BaZi birth charts to assess relationship compatibility using Five-Stem combinations, spouse palace harmonies and clashes, and Five-Element complementarity.

Instructions

Compare two birth charts deterministically using Classical Five-Stem Combinations, Day Branch Spouse Palace harmonies/clashes, and combined Five-Element complementarity.

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": {
      "personADate": "<personADate>",
      "personBDate": "<personBDate>"
    },
    "name": "calculate_bazi_compatibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
personADateYesPerson A birth date YYYY-MM-DD
personATimeNo12:00
personBDateYesPerson B birth date YYYY-MM-DD
personBTimeNo12:00

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden; it does add one genuine behavioral trait, that results are computed "deterministically," and names the analytical framework (Five-Stem Combinations, Spouse Palace, Five-Element complementarity). It says nothing about whether this is a pure computation with no side effects, what shape the result takes, or how the two charts' elements are weighted.

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; the analytical method is packed in efficiently. It is jargon-dense but every clause carries information, so nothing is wasteful.

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 a comparison tool with no annotations and no output schema, an agent still cannot tell what comes back (a numeric compatibility score, a textual verdict, per-category breakdowns) or whether missing birth times matter. The two undocumented time parameters compound the gap.

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 coverage is only 50%: personATime and personBTime are undocumented and default to 12:00, yet the description never mentions birth time at all or how a defaulted time degrades accuracy. The description adds no meaning to any of the four parameters beyond what the schema already shows.

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 ("Compare") and resource ("two birth charts") along with the method used, which cleanly separates it from the single-chart sibling calculate_bazi_chart. It stops short of naming that sibling explicitly, so differentiation is inferable 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 Guidelines2/5

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

No guidance on when to use this rather than calculate_bazi_chart, no prerequisites, no note about what to do if a birth time is unknown. The only hint of usage context is the word "Compatibility" implicit in comparing two people's charts.

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