Skip to main content
Glama

moon_phases

Every moon's phase on a date. 'fraction' is the exact position in the cycle, 0.0 at new and 0.5 at full, and is the number to compute with. 'phase' is only which named bucket that fraction falls in, and 'illumination' is the lit portion of the disc from 0.0 to 1.0. Computed in closed form from the moon's period and offset, not simulated and not astronomical: it is exactly what the spec describes. Measured at the start of the day; pass day_fraction 0.5 for midday, or 'time' to say where in the day exactly for a calendar whose spec divides its day. Give one or the other.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
timeNo
calendarYes
day_fractionNo

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden, and it delivers: it discloses the closed-form computation model, the non-astronomical nature, the start-of-day measurement assumption, and how to adjust the observation point. This is rich, non-obvious behavioral context beyond the bare schema.

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?

The description is dense but every sentence earns its place: it explains the output semantics, the computation model, the timing convention, and the input choice in a compact paragraph. Nothing is filler, and the most important phrase appears first.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no output schema, the description does a good job defining returned values, and it covers the tricky day_fraction/time behavior. But it leaves meaningful gaps: the structure and semantics of the required 'calendar' and 'date' nested objects are not explained, and it does not specify what happens if both day_fraction and time are supplied despite 'Give one or the other.'

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 0%, so the description must compensate. It explains day_fraction and time well, including default behavior and mutual exclusivity, and it defines the meaning of the returned fields. However, it gives almost no guidance on the required 'date' and 'calendar' object parameters, which are nested and opaque in the schema.

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 opening line, 'Every moon's phase on a date,' states a specific computation and resource, and the rest of the description defines the output fields (fraction, phase, illumination) in enough detail to distinguish it from the sun/calendar siblings. It is a clear, non-tautological statement of what the tool does.

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?

The description gives explicit conditional guidance on when to pass 'day_fraction 0.5' versus 'time', and instructs 'Give one or the other.' It also draws a boundary around the model ('not simulated and not astronomical'), which prevents misuse. However, it does not explicitly name sibling tools such as sun_daylight or state when to choose them instead.

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.

TDQS

A3.9/5.0
Disambiguation4/5

Each tool targets a distinct calendar operation, and the descriptions carefully draw boundaries between related concepts. There is modest overlap: convert_date also reports a named period, and calendar_events can answer nth-weekday questions that overlap with nth_weekday_of_month, so an agent might occasionally pick the wrong entry point.

Naming Consistency3/5

All names are readable and consistently snake_case, but the set mixes verb-led names like convert_date and render_timeline with noun-led names like calendar_events and moon_phases, plus one prepositional verb in add_to_date. This is a readable mixture rather than a uniform verb_noun pattern.

Tool Count5/5

Fifteen tools sits at the upper end of the typical well-scoped range, but every tool fills a distinct role for an almanac-style server: date math, conversion, calendar queries, formatting, parsing, rendering, lunar and solar calculations, generation, and validation. The batched plural parameters also make the count feel intentional rather than bloated.

Completeness4/5

The surface covers the domain unusually well: conversion, arithmetic, events, periods, weekdays, format/parse, SVG rendering, moon phases, daylight, scattering, and validation all have dedicated tools. The main gap is introspection—there is no direct way to list a calendar spec's months, eras, week structure, periods, or formats beyond what other tools reveal through errors and outputs.

Resources