Skip to main content
Glama

get_sun_forecast

The NEXT FEW DAYS of vitamin D sun at a location, using the live Open-Meteo forecast: per day the peak UV, average cloud cover, the synthesis window and the minutes needed, plus bestDay. Use this for any question spanning several days — 'which day this week should I go out', 'will it be better tomorrow', 'when's my next chance' — instead of calling get_vitamin_d_window once per date.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ageNoAge in years (synthesis declines with age); omit for adult baseline
latYesLatitude in decimal degrees
lonYesLongitude in decimal degrees
daysNoHow many days ahead, 2 to 7; default 5
skinTypeNoFitzpatrick skin type 1 (very fair) to 6 (very dark); default 3
targetIUNoVitamin D target per session in IU; default 1000
timezoneNoIANA timezone like 'Europe/Madrid'. Strongly recommended — without it all times are UTC
elevationMNoGround elevation in metres (UV rises ~8%/km); default sea level
exposedSkinFractionNoSkin exposed: 0.10 face+hands, 0.18 face+arms, 0.25 t-shirt+shorts (default), 0.40 swimsuit

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the transparency burden. It does disclose that the tool uses the 'live Open-Meteo forecast' and lists per-day output fields, which is useful. However, it does not explicitly mention that the operation is read-only, has no side effects, or clarify network/error behavior, leaving some behavioral traits implicit for a forecast 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?

The description is two tightly written sentences. The first sentence packs the core purpose and output summary; the second provides usage context, example questions, and the explicit sibling alternative. Every word contributes, with no redundant content.

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?

Given the lack of an output schema, the description compensates by enumerating the return fields (peak UV, cloud cover, synthesis window, minutes needed, bestDay) and by explaining the multi-day use case. The schema comprehensively covers all parameters, so the description need not repeat them. Minor gaps remain around timezone handling consequences and potential error cases, but the overall context is sufficient for an agent to select and call this tool correctly.

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?

All 9 parameters have comprehensive schema descriptions covering ranges, defaults, units, and special roles (e.g., timezone). The tool description itself adds little parameter-specific meaning beyond 'a location' and 'NEXT FEW DAYS', so the schema carries the parameter documentation burden and earns the baseline score of 3.

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 clearly identifies the tool as a multi-day vitamin D sunshine forecast for a location, explicitly listing the computed outputs (peak UV, cloud cover, synthesis window, minutes needed, bestDay). It further distinguishes itself from the sibling get_vitamin_d_window by highlighting the multi-day scope.

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?

The description provides explicit usage guidance: 'Use this for any question spanning several days', followed by concrete examples ('which day this week should I go out'). It also directly names the alternative approach and says 'instead of calling get_vitamin_d_window once per date', making the tool-choice decision unambiguous.

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