Skip to main content
Glama

BaZi MCP Server

Luck pillars (大运)

luck_pillars

Compute the ten 10-year luck pillars (大运): direction, start age, day-master strength with favourable/unfavourable elements, and the best and worst years on a fixed 0-100 scale. Use for any question about timing, luck cycles, good or bad years.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "luck_pillars"
  }
}

Input Schema

NameRequiredDescriptionDefault
birthNoBirth data collected from the user, usually via request_form with a "birth" field.
chartIdNoId of a chart the signed-in user already saved (from list_my_charts or the page context). Prefer this when available.

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?

With no annotations supplied, the description carries the full burden. It does disclose the computed outputs and the 'fixed 0-100 scale' for the best/worst-year scoring, which is useful behavioural context. But it says nothing about whether a saved chart or birth data is required, whether the operation is read-only, or how costly/long the computation is.

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?

Two sentences, front-loaded with the computation and its outputs, followed by the use case. No filler, no restatement of the title, nothing to trim.

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?

The description tells an agent what comes back (pillars, direction, start age, strength, best/worst years), which compensates for the absent output schema, and the input side is fully covered by the schema. The remaining gap is the relationship between the birth object and chartId, which the description leaves entirely to the schema.

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% and the nested birth object is thoroughly documented (country, timezone, longitude, calendarType), so the schema does the heavy lifting. The description adds no meaning beyond those fields and does not explain the birth-vs-chartId choice. Baseline 3 applies.

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 ('Compute') and a specific resource ('the ten 10-year luck pillars (大运)'), then enumerates the concrete outputs: direction, start age, day-master strength, best/worst years. It is clearly a computation tool rather than a lookup or matching tool, but it never names or contrasts a sibling such as life_trajectory, so differentiation is left to inference.

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?

'Use for any question about timing, luck cycles, good or bad years' gives an explicit trigger condition, which is real usage guidance rather than none. However, it offers no when-not guidance and no mention of an alternative, so an agent must decide on its own between this and life_trajectory or calculate_chart.

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.