Skip to main content
Glama

Faceabot Weather

Sunrise, sunset and day length for any place

sun_times
Read-onlyIdempotent

Sunrise, sunset, solar noon and day length (local time) for any city or coordinates worldwide, for a date or up to 7 days; says when there is midnight sun or polar night. Use when: "what time is sunrise in Oslo tomorrow?", "when is sunset in Bali", planning photos, prayers or outdoor activities. Example: {"location":"Oslo","date":"2026-12-21"}

Input Schema

NameRequiredDescriptionDefault
latNoOptional latitude instead of location
lonNoOptional longitude (with lat)
dateNoFirst date YYYY-MM-DD (default: today at that place)
daysNoNumber of days
langNoLanguage of the place name, default enen
locationYesCity, address or landmark in any language, or "lat,lon"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, so the safety profile is covered. The description adds genuinely non-redundant behavior: results are in local time, the lookahead is capped at 7 days, and the tool explicitly reports midnight sun / polar night rather than failing silently. What it omits is how ambiguous or unresolvable locations are handled.

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 output payload is front-loaded, then a compact 'Use when' trigger list, then a single inline example. Every sentence carries information an agent needs and there is no filler.

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?

There is no output schema, so the description carries the burden of describing returns — and it does list the four values plus local-time semantics and the polar edge cases. The only shortfall is the absence of any statement about output shape or the location-versus-coordinates precedence noted above.

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 description coverage is 100%, so the schema already documents every parameter and the baseline is 3. The description reinforces the two input modes ('any city or coordinates', 'a date or up to 7 days') but does not resolve the real ambiguity in the schema: 'location' is listed as required while lat/lon are documented as an alternative to it, so an agent still cannot tell whether location may be omitted.

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 names the exact resources returned (sunrise, sunset, solar noon, day length) and the scope (local time, any city or coordinates, one date or a 7-day window). Midnight-sun and polar-night handling further sharpens the boundary against a generic weather sibling. An agent can distinguish this from weather_forecast and pollen_and_air_quality without opening any schema.

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 explicit 'Use when:' block gives concrete trigger queries ('what time is sunrise in Oslo tomorrow?') and use cases (photo, prayer, outdoor planning), which is strong affirmative guidance. It stops short of naming alternatives or exclusions — e.g. no statement that general weather conditions belong to weather_forecast — so it does not reach the top band.

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.

Resources