Skip to main content
Glama

AstroWay Astrology API (full catalogue)

Tong Shu date selection

astroway_chinese_tong_shu_select
Read-onlyIdempotent

Walk a date range and return the days the almanac endorses for one activity, each with the officer that decided it. Optionally drop the days that clash a person's animal. Range capped at 366 days and a longer one is refused, not truncated.

[Group: Chinese: Zodiac & Feng Shui] [Cost: 20 credits (Tier 2)]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes
fromYes
fieldsNoCompact mode: comma-separated dotted paths to keep, relative to `data`, e.g. "planets.name,planets.longitude,houses.cusp". Omit for the whole response.
activityYes
languageNo
precisionNoCompact mode: round fractional numbers to this many decimals. Longitudes carry 14 by default; 2 is finer than any chart is drawn.
avoidClashWithNo
includeNeutralNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo
droppedNo
matchedNo
scannedNo
activityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: a 366-day range cap that hard-refuses rather than truncates, and the optional clash filter keyed to a person's animal. It stops short of noting cost/auth handling, which the separate cost line partly supplies.

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, zero waste. The core behavior is front-loaded and the constraints (clash filter, range cap, refuse-not-truncate) follow immediately; nothing is repeated from the schema or annotations.

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?

An output schema exists, so return-value explanation is unnecessary, and the description covers the main behavioral risks (range cap, refusal semantics, clash filtering). The gaps are the unaddressed includeNeutral and language parameters and the exact date format, which the schema pattern supplies.

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?

With only 25% schema description coverage across 8 parameters, the description must compensate and partly does: it clarifies activity (one per call), from/to as a walked range, and avoidClashWith as dropping animal-clash days. It says nothing about includeNeutral or language, leaving two parameters unexplained in both schema and prose.

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?

States a precise verb+resource: walks a date range and returns almanac-endorsed days for a single activity, each annotated with the deciding officer. This clearly separates it from the singular sibling astroway_chinese_tong_shu, which covers one date rather than a selection sweep.

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?

The use case is clearly articulated (pick auspicious days for one named activity, optionally excluding days that clash a person's animal), and the 366-day cap sets a boundary on valid input. It does not, however, name an alternative (e.g. the single-date tong_shu tool or the vedic_muhurat family) or state when not to use it.

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