Skip to main content
Glama

Sigastra Gifts

Moon phase on a date

moon_phase
Read-only

The Moon's phase on a local date and time: phase name, % illuminated, age in days, waxing or waning, and whether it was above the horizon over the place. Defaults to 21:00 local time. Returns a link to design a Moon print of that night.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "date": "<date>"
    },
    "name": "moon_phase"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzNoIANA time zone, e.g. Europe/London (optional if place is given)
latNoLatitude in degrees (optional if place is given)
lonNoLongitude in degrees (optional if place is given)
dateYesLocal date, YYYY-MM-DD (any year, past or future)
timeNoLocal time HH:MM, 24 h. Optional: 21:00 is used when unknown.
placeNoCity or town, optionally with region and country, e.g. "Wandsworth, England" or "Dayboro Queensland". Used when lat/lon/tz are not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the read-only safety profile, and the description adds useful behavior: a default time of 21:00 local time, acceptance of any year past or future, and a note that the result includes a design link. It does not state what happens when a place string fails to resolve or how the horizon calculation depends on location, leaving a small gap.

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, front-loaded with the core purpose, then the returned fields and the default/link behavior. No filler or redundancy.

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 six parameters, a single required field, and no output schema, the description carries enough: it lists the returned values and explains the time default. Minor omissions are error behavior for unresolvable places and any pagination/format detail, but nothing that would block a correct call.

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 description coverage is 100%, so every parameter is already documented (tz, lat, lon, date, time, place, including the fallback relationship between place and lat/lon/tz). The description adds only the 21:00 default, which the schema also states, so 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?

The description names a specific resource and scope ('The Moon's phase on a local date and time') and enumerates the returned quantities (phase name, % illuminated, age, waxing/waning, horizon visibility). It does not explicitly distinguish itself from the sibling sky_on_date, which likely overlaps in domain, so it falls short of a 5.

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

Usage Guidelines3/5

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

Usage is implied by the definition itself: call it to get Moon phase for a given local date. There is no explicit when-to-use/when-not guidance and no named alternative (e.g., sky_on_date) that would tell an agent which tool to pick for broader sky data.

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