Skip to main content
Glama

calculate_ziwei_astrolabe

Generate a true-lunar Zi Wei Dou Shu 12-Palace astrolabe from solar date, gender, and Chinese double-hour index; returns Five Elements Bureau, 14 major stars, brightness, and Four Transformations.

Instructions

Calculate a true-lunar Zi Wei Dou Shu (Purple Star Astrology) 12 Palaces astrolabe via iztro including Five Elements Bureau, 14 Major Stars, brightness, and Four Transformations.

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": {
      "solarDate": "<solarDate>"
    },
    "name": "calculate_ziwei_astrolabe"
  }
}

Input Schema

NameRequiredDescriptionDefault
genderNofemale
localeNoen-US
solarDateYesGregorian birth date YYYY-MM-DD
timeIndexNoChinese double-hour index 0 (Early Zi) through 12 (Late Zi), default 6 (Wu 11:00-13:00)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it does not state that this is a pure computation with no side effects, whether results are deterministic, or whether any external service is called ('via iztro' is an implementation detail, not behavioral guidance). It does at least describe the shape of what the calculation yields, which is the main disclosure present.

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 dense sentence that front-loads the verb and resource and then lists outputs; there is no filler. It is jargon-heavy but each clause adds identifying information.

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?

With four parameters, no annotations, and no output schema, the description is complete enough to know what comes back at a high level, but it omits return structure, error behavior for malformed dates, and the role of gender/locale. Adequate for a pure calculation tool but not thorough.

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 description coverage is only 50% and the description mentions no parameter at all. It never explains that gender materially affects the chart (decadal/palace assignment) or that locale controls output language, leaving two of four parameters undocumented in both schema and description for a domain where those inputs are semantically significant.

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 names a specific verb (Calculate) and a specific resource (Zi Wei Dou Shu 12 Palaces astrolabe) and enumerates the outputs it produces (Five Elements Bureau, 14 Major Stars, brightness, Four Transformations). It is clearly distinguishable from sibling chart tools such as calculate_bazi_chart by domain and output content, though it never names an alternative outright.

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?

There is no guidance on when to choose this tool over calculate_bazi_chart or the other sibling tools, nor any statement of prerequisites (e.g., that the birth date must be Gregorian and the hour index is required for accuracy). Usage is only implied by the tool's name and domain.

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