Skip to main content

Western Day View

asterwise_get_western_day

One calendar day at a place, Western style: planetary hours, void-of-course Moon periods, Moon sign changes and the Moon phase. The day runs from local midnight to midnight; every planetary hour that falls in it is listed with the void-of-course periods that overlap it.

Parameters​

ParameterTypeRequiredDescription
locationobjectyesFor tools that need location but not birth time. Required fields: date, lat, lon. Optional fields: timezone, response_format.

What it covers​

The Western counterpart of the panchanga civil day, from the same engines as asterwise_get_western_planetary_hours and asterwise_get_western_void_of_course_moon, in one call. No birth data needed.

Workflow​

BEFORE: None — standalone.
AFTER: asterwise_get_western_daily_factors — the personal picture for the same day.

Input​

location — LocationInput (date YYYY-MM-DD, lat, lon, timezone, response_format).

Output contract​

data.start, data.end (local midnight to midnight, with offset), data.start_utc, data.end_utc
data.status (ok|no_sunrise)
data.planetary_hours[] — hour, period, planet, start_local, end_local, start_utc, end_utc, length_minutes, is_current
data.void_of_course[] — start_utc, end_utc, duration_hours, moon_sign, next_sign, last_aspect, whole_sign_void
data.moon — sign_at_start, sign_at_end, sign_changes[] {at_utc, at_local, from_sign, to_sign}, phase_name, illumination_pct, is_waxing

Response format​

response_format=json — structured data. response_format=markdown — readable report.

Compute class​

MEDIUM_COMPUTE

Errors​

INVALID_PARAMS (local): input validation failures.
INVALID_PARAMS (upstream): a bad date or an unknown timezone → 422, surfaces as MCP INTERNAL_ERROR with the API message.
INTERNAL_ERROR: Any upstream API failure → MCP INTERNAL_ERROR

Do not confuse with​

asterwise_get_panchanga — the Vedic day with tithi, nakshatra and the Vedic windows.

Connect​

Remote MCP endpoint: https://mcp.asterwise.com/mcp. Authenticate with Authorization: Bearer <API key> or OAuth. See the MCP setup guide.