Skip to main content
Glama

Moon phase and illumination

moon_phase
Read-only

Moon phase and illumination. Moon phase and times. Sunrise, sunset, solar noon, day length, civil/nautical/astronomical twilight and golden hour for any coordinates and date, plus moon phase, illumination, moonrise/moonset and next full and new moon. Times are returned in the local time zone, detected automatically from the coordinates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tzNoIANA time zone for the returned times, or 'auto' (detected from coordinates) (e.g. auto)
latYesLatitude (e.g. 40.4168)
lonYesLongitude (e.g. -3.7038)
dateNoDate YYYY-MM-DD (default: today) (e.g. 2026-06-21)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description usefully adds that times are returned in the local time zone auto-detected from coordinates, but says nothing about accuracy, edge cases (polar day/night), or failure modes beyond that.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening 'Moon phase and illumination. Moon phase and times.' duplicates the title and name without adding information, and 'Moon phase' is repeated later. The long enumerations are front-loaded reasonably but the redundant opening sentences do not earn their place.

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?

With no output schema, the description usefully enumerates the returned values (sunrise/sunset, twilight stages, golden hour, illumination, moonrise/moonset, next full/new moon), which compensates for the missing return documentation. It is nearly complete, though it omits edge-case behavior.

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 coverage is 100%, so lat/lon/date/tz are already documented in the schema. The description restates the tz auto-detection behavior that the schema already specifies, adding no syntax or format detail beyond it. 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 specific resources (sun/moon astronomical data) and scope (any coordinates and date), so an agent knows this is an astronomy computation tool. However, the opening two sentences ('Moon phase and illumination. Moon phase and times.') are redundant and it never distinguishes itself from the sibling sunrise_sunset tool, despite heavy overlap.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no prerequisites, and no mention of alternatives. The overlap with the sibling sunrise_sunset is left unresolved, so an agent cannot tell which tool to prefer for solar-only queries.

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.