Skip to main content
Glama

get_sun_times

Sunrise, sunset, solar noon, civil dawn/dusk, morning AND evening golden hour, and day length (with day-over-day trend) for a location and date. Handles midnight sun and polar night. Pure sun times — for vitamin D questions use the vitamin_d tools instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latYesLatitude in decimal degrees
lonYesLongitude in decimal degrees
dateNoDate as YYYY-MM-DD; defaults to today
timezoneNoIANA timezone like 'Europe/Madrid'. Strongly recommended — without it all times are UTC

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description adds useful behavioral context by noting it 'Handles midnight sun and polar night' and includes a 'day-over-day trend.' It does not explicitly state read-only behavior, but the 'get' verb and 'pure sun times' scope imply a safe calculation tool.

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 output details, no fluff. Every clause adds value, from the comprehensive list of times to the edge-case handling and usage pointer.

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?

For a tool with 4 parameters and no output schema, the description fully covers what the tool returns, edge cases, and when to use it. The timezone parameter is well-covered in the schema, so no gap remains.

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 the parameters are already well-documented. The description mentions 'location and date' but adds no extra meaning beyond the schema's parameter descriptions, meriting the baseline score.

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 description lists specific outputs (sunrise, sunset, solar noon, civil dawn/dusk, golden hour, day length) and explicitly contrasts with vitamin D tools, making the tool's purpose unmistakable and differentiated from siblings.

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

Usage Guidelines5/5

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

It clearly states when to use this tool vs. alternatives: 'Pure sun times — for vitamin D questions use the vitamin_d tools instead.' This provides an explicit exclusion and points to the correct sibling tools.

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

A4.3/5.0
Disambiguation5/5

Every tool has a clearly distinct purpose: year comparison vs. single-year vs. single-day vs. multi-day forecast vs. pure sun times vs. current status; personal history/profile tools are cleanly separated from public location tools. No two tools appear to do the same thing.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (get_, set_, log_, search_, update_, configure_, estimate_, compare_). This makes the toolset highly predictable and easy to navigate.

Tool Count4/5

At 15 tools, the count sits at the upper edge of the ideal range, but each tool carves out a distinct niche within the vitamin D/sun exposure domain. The scope is broad, yet no tool feels extraneous; a slightly lower score reflects the borderline-high number.

Completeness4/5

The domain is well covered: location search, sun times, vitamin D windows for day/year/forecast, session estimation, personal profile read/update, history logging and correction. Minor gaps exist (e.g., no favourite city management, no way to delete history), but core workflows are fully supported.

Resources