Skip to main content
Glama

estimate_sun_session

Estimate a sun session's outcome: 'I was (or will be) out N minutes — how much vitamin D did I make?' plus 'how long before I'd burn?' for the profile. Takes a start time (defaults to the day's best hour) and session minutes; returns estimated IU (with the physiological cap), average UV and clear-sky minutes-to-sunburn. Use for any 'how much did I get / can I get in X minutes' or 'how long without burning' question.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ageNoAge in years (synthesis declines with age); omit for adult baseline
latYesLatitude in decimal degrees
lonYesLongitude in decimal degrees
dateNoDate as YYYY-MM-DD; defaults to today
minutesYesSession length in minutes
skinTypeNoFitzpatrick skin type 1 (very fair) to 6 (very dark); default 3
timezoneNoIANA timezone like 'Europe/Madrid'. Strongly recommended — without it all times are UTC
startTimeNoLocal HH:MM the session starts; defaults to the day's best hour
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
Behavior4/5

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

With no annotations, the description carries the full burden and provides valuable behavioral details: it mentions the default start time ('defaults to the day's best hour'), the physiological cap on IU, and the specific outputs (IU, average UV, clear-sky minutes-to-sunburn). It does not claim to be read-only or destructive, but the description does not require additional disclosure beyond its actual function.

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 sentences, front-loaded with the primary use case and example questions, then a concise summary of inputs and outputs. Every sentence earns its place without redundancy or unnecessary detail.

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 tool's complexity (10 parameters, multiple outputs), the description adequately connects inputs to outputs and explains the tool's role in the broader domain. It does not enumerate every parameter but the schema covers those details. The absence of an output schema is partially mitigated by listing the return values (IU, average UV, minutes-to-sunburn).

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?

The input schema already provides 100% coverage with detailed descriptions for all 10 parameters, including defaults and meanings. The tool description adds context about the start time default and the output units, but does not significantly expand parameter semantics beyond what the schema offers. This matches the baseline for high schema coverage.

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 starts with a specific verb 'Estimate' and clearly identifies the resource as a 'sun session's outcome'. It distinguishes itself from siblings by focusing on per-session estimation of vitamin D production and sunburn time, with illustrative user questions. This makes the tool's purpose unmistakable.

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 explicitly states when to use the tool: 'Use for any how much did I get / can I get in X minutes or how long without burning question'. While it does not explicitly mention alternative tools, the clear usage context effectively differentiates it from siblings like get_vitamin_d_window or get_sun_forecast.

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