Skip to main content
Glama

Western Moon Phase

asterwise_get_western_moon_phase
Read-onlyIdempotent

Calculates the tropical lunar phase for any date using Swiss Ephemeris. Returns the phase name, phase angle, illumination percentage, Moon age in days, and the next major phase transition.

WORKFLOW: BEFORE: None — standalone. AFTER: asterwise_get_western_moon_calendar — get the full month's phase data.

INPUT CONTRACT: date (optional string YYYY-MM-DD, years 1-3000) — Date to compute phase for. Defaults to today (UTC). An invalid or out-of-range date → 422 validation_error, surfaces as MCP INTERNAL_ERROR with the API message. Example: '2026-05-01'

DO NOT CONFUSE WITH: asterwise_get_western_moon_calendar — full monthly day-by-day phase table. asterwise_get_panchanga — Vedic tithi system (lunar day based on 12° arc increments).

Full output and error contract: https://docs.asterwise.com/mcp/tools/get-western-moon-phase/

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoDate for the moon phase, YYYY-MM-DD (years 1-3000). Defaults to today (UTC).
response_formatNoOutput format: 'markdown' (default) for a readable report, or 'json' for the raw structured payload.markdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / date / description
      Previous value: -"Date for the moon phase, YYYY-MM-DD. Defaults to today."New value: +"Date for the moon phase, YYYY-MM-DD (years 1-3000). Defaults to today (UTC)."
  2. Changed2 schema fields changed
    • addedInput schema / properties / date / description
      Added value: +"Date for the moon phase, YYYY-MM-DD. Defaults to today."
    • addedInput schema / properties / response_format / description
      Added value: +"Output format: 'markdown' (default) for a readable report, or 'json' for the raw structured payload."
  3. Changed2 schema fields changed
    • addedInput schema / properties / response_format / default
      Added value: +"markdown"
    • removedInput schema / required
      Removed value: -[
      -  "response_format"
      -]
  4. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources