Skip to main content
Glama

ClockCrest time tools

Moon phase

get_moon_phase
Read-onlyIdempotent

Phase of the Moon (name, illuminated fraction, age in days) now or on a date, plus the times of the next new moon, first quarter, full moon and last quarter in UTC.

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
dateNoDate, YYYY-MM-DD, evaluated at 12:00 UTC (1900–2100). Default: now.

Output Schema

NameRequiredDescriptionDefault
atYesThe instant the phase is computed for
dateYes
notesYesCaveats and conventions that apply to this response.
phaseYes
sourceYesWhere the data or the algorithm comes from.
waxingYes
ageDaysYesDays since the last new moon
phaseNameYes
cycleAngleYes0 new, 90 first quarter, 180 full, 270 last quarter
nextNewMoonYesUTC instant, YYYY-MM-DDTHH:MM:SSZ
illuminationYesIlluminated fraction of the disc, 0–1
nextFullMoonYesUTC instant, YYYY-MM-DDTHH:MM:SSZ
nextLastQuarterYesUTC instant, YYYY-MM-DDTHH:MM:SSZ
nextFirstQuarterYesUTC instant, YYYY-MM-DDTHH:MM:SSZ
illuminationPercentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so safety is covered. The description adds meaningful context beyond that by stating the quarter-moon times are reported in UTC and that results can be computed for the present moment or a specific date, removing local-time ambiguity.

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?

A single dense sentence that front-loads the primary output (phase, fraction, age) and appends the secondary output (quarter times). No filler, no restatement of the title.

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?

With an output schema present, a fully documented single parameter, and rich annotations, the description only needs to convey purpose and output scope, which it does precisely. Nothing an agent needs in order to select or call this tool is missing.

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%: the single date parameter already documents the YYYY-MM-DD pattern, 12:00 UTC evaluation, and the 1900–2100 range. The description's 'now or on a date' merely reinforces the documented default rather than adding new semantics, so baseline 3 applies.

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 definition names the exact celestial resource and itemizes what is returned (phase name, illuminated fraction, age in days) along with the additional quarter-moon timestamps. This is unambiguous against siblings like get_sunrise_sunset or get_current_time, which cover different astronomical/time concerns.

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?

'Now or on a date' implicitly tells the agent when to omit versus supply the optional parameter, which is useful context. However, no explicit when-not conditions or named alternatives are given, so guidance remains implied rather than directive.

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