Skip to main content
Glama

Cast a Zi Wei Dou Shu chart

cast_ziwei_chart
Read-onlyIdempotent

Lay out a Zi Wei Dou Shu (紫微斗數) chart: the twelve palaces with their major and minor stars and brightness, the birth-year transformations (四化), the Life and Body Palaces, the five-element class and each palace's ten-year range. Same birth input as cast_bazi_chart.

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": {
      "birth": "<birth>"
    },
    "name": "cast_ziwei_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
birthYes
localeNoLanguage of the text summary and labels: zh-Hant (Traditional Chinese, default) or en. Machine fields carry both.zh-Hant

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the compute-only, side-effect-free nature is covered. Beyond that, the description adds real substance by declaring what the returned chart will contain and the interpretive framework used. It stops short of describing failure behavior (e.g. what happens with an unknown birth time) or output shape, which the absent output schema leaves unaddressed.

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, verb front-loaded, and the long enumeration of chart contents is dense but each element is a distinct output the agent may need to report. No filler or restatement of the title.

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?

This is a computationally complex chart generator with no output schema, so the description carries the burden of telling the agent what comes back — and it does so by naming the palaces, stars, transformations and luck ranges. It is slightly incomplete on error/edge-case behavior for the birth input, but the annotated read-only profile and rich nested schema cover the rest.

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?

Top-level schema coverage is 50% — the `birth` object itself carries no description — but the nested fields (date, time, gender, late_zi, calendar, timezone, longitude, hemisphere, lunar_leap_month, utc_offset_minutes, use_true_solar_time) are documented in detail inside the schema. The description compensates only indirectly by pointing to cast_bazi_chart for the shared birth input; it adds no field-level meaning of its own.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Lay out a Zi Wei Dou Shu chart" gives a specific verb and resource, and the sentence then enumerates exactly what the chart contains: twelve palaces with major/minor stars and brightness, four transformations, Life and Body Palaces, five-element class, ten-year ranges. It is immediately distinguishable from cast_bazi_chart and the other siblings.

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 closing line "Same birth input as cast_bazi_chart" tells the agent this tool shares an input shape with a sibling, which is a useful routing hint, but it never states when to choose this chart versus the bazi chart or what the two answer differently. Usage is only implied by the tool's own name and purpose.

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.