Skip to main content
Glama

Sun & moon times

sun_times
Read-onlyIdempotent

Gives the sun and moon times for a place on one day: first light, dawn, sunrise, the end of morning golden hour, solar noon, evening golden hour, sunset, dusk, night, moonrise and moonset, with the moon's phase, the next full and new moon, the next equinox or solstice, and the sky events coming up, with tonight's northern lights forecast where they can be seen: the Kp the place needs and the strongest forecast while it is dark, from NOAA. Times are computed for the place and said in its own time zone. A day an event does not happen there (a polar day or night) says so. Read only; sets nothing.

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": {
      "place": "<place>"
    },
    "name": "sun_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoThe day, "2026-11-02". Left out, today at the place.
placeYesA city, park, beach or address, "Lisbon" or "Yosemite". Coordinates as "38.72, -9.14" work too.
your_time_zoneNoThe person's own IANA time zone, to say each time on their clock too when it differs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and open-world semantics, yet the description still adds real behavior: times are computed for the place and expressed in its own time zone, polar day/night yields an explicit 'does not happen' answer, and the aurora forecast names its source (NOAA) and the Kp threshold logic. Only the return-shape/pagination question is left untouched.

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?

Content is front-loaded with the returned fields, which is useful, but the whole thing is one long run-on sentence that chains outputs, computation semantics, edge cases and the aurora forecast together. Nothing is truly wasted, but the lack of sentence breaks makes it harder to scan than it needs to be.

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?

For a three-parameter read tool with no output schema, the description covers what comes back, how time zones are handled, and what happens in degenerate cases (polar day/night). It is essentially complete for an agent to call it correctly; only source/accuracy caveats beyond the aurora data are absent.

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 all three parameters (date, place, your_time_zone) are already documented. The description reinforces that results are tied to the place and its time zone and that the scope is a single day, but adds no format or syntax detail beyond the schema, so the 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?

States a specific verb and resource ('Gives the sun and moon times for a place on one day') and enumerates the exact outputs: first light, dawn, sunrise, golden hours, solar noon, sunset, dusk, night, moonrise/moonset, phases, equinoxes, sky events and aurora forecast. The closing 'Read only; sets nothing' separates it from the alarm-setting sibling.

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 'for a place on one day' and 'Read only; sets nothing', which steers an agent away from mutating siblings like set_sun_alarm. However, no sibling is named and there is no explicit when-to-use/when-not guidance (e.g. versus tide_times for coastal planning).

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.