Skip to main content
Glama

Moon phase

get_moon_phase
Read-onlyIdempotent

Answers "what is the moon phase today?", "when is the next full moon / new moon?". The Moon on a day in the asker's calendar: what the day is called (new moon, waxing crescent, first quarter and so on), how much of the disc is lit, its age, the next full and new moon, and the four main phases of that month, in local time. Computed with Meeus and checked against US Naval Observatory tables; useful for planning aurora watching.

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": "get_moon_phase"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoA calendar date, YYYY-MM-DD, in the given time zone. Defaults to today there.
timeZoneNoIANA time zone of the person asking, such as Europe/Moscow or America/New_York. Local times and days use it. Defaults to UTC.

Output Schema

NameRequiredDescriptionDefault
atYesThe moment the illumination and age describe: now for today, local noon for another date. UTC.
dateYesThe local calendar date described, YYYY-MM-DD.
phaseYesWhat the day is called: the phase whose moment falls on it, or the crescent or gibbous moon after the last one.
ageDaysYesDays since the last new moon.
sourcesYesWhere the data comes from and on what terms.
isWaxingYes
timeZoneYes
phaseNameYes
nextNewMoonYes
nextFullMoonYes
phasesThisMonthYesNew moon, first quarter, full moon and last quarter in the local calendar month of the date.
illuminationPercentYesThe lit share of the disc, 0 to 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real context beyond that: the computation basis (Meeus, checked against US Naval Observatory tables) and the fact that dates and returned times are interpreted in the asker's local zone, with sensible defaults of today and UTC.

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?

It is front-loaded with the concrete questions the tool answers, then moves into scope and provenance, so an agent can stop reading early and still act correctly. The final clause about aurora watching is a slight digression, and the long middle sentence packs several ideas together, but nothing is truly wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 values need no explanation, yet the description still summarizes what comes back. With defaults, time-zone handling, and data provenance all covered for a two-parameter read-only tool, an agent has everything needed to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already documented, which sets a baseline of 3. The description earns an extra point by tying the date to "the asker's calendar" and stating that output times are local, reinforcing the coupling between the date and timeZone parameters that the schema only implies.

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?

The description names a specific resource and verb: the Moon phase on a given day, and it enumerates the returned fields (phase name, illuminated fraction, age, next full/new moon, the month's four main phases). This clearly separates it from the space-weather siblings, which cover geomagnetic and solar data rather than lunar state.

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?

It anchors usage in natural user questions ("what is the moon phase today?", "when is the next full moon / new moon?") and adds the practical framing of "useful for planning aurora watching." It does not explicitly say when not to use it or name a sibling alternative, but the domain difference from the Kp/solar tools leaves little ambiguity.

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