Skip to main content
Glama

peaks.fyi — Mountain Routes, Huts & Weather

get daylight

get_daylight
Read-onlyIdempotent

Compute sunrise, sunset and civil twilight for the exact calendar date and IANA zone. UTC instants handle daylight saving and polar days. Terrain and weather can reduce usable daylight.

Input Schema

NameRequiredDescriptionDefault
dateYes
slugYesPeak slug returned by search, for example mont-blanc.
timeZoneNoOptional explicit IANA zone; defaults to the catalogue zone.

Output Schema

NameRequiredDescriptionDefault
dataYes
sourcesYes
retrievedAtYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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, so the bar is lower; the description still adds real value by disclosing DST handling via UTC instants, polar day/night edge cases, and the caveat that values are geometric and ignore terrain and weather. It does not say what happens for out-of-catalogue slugs or how polar cases are represented in the output.

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?

Three short sentences, front-loaded with verb and resource, then edge-case behavior, then a caveat. No filler and nothing repeated from the schema or annotations.

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?

An output schema exists, so return values need no explanation, and annotations carry the safety profile; the description covers the notable behavioral edge cases (DST, polar days). The one gap is that it never explains that the required slug supplies the location, which is essential to interpreting a sunrise/sunset result.

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 67% and the schema already documents slug and timeZone well, so baseline 3 applies. The description clarifies the date semantics ('exact calendar date') and zone behavior (defaults handled via UTC) but never mentions the required slug or that the observation point comes from a peak, leaving the most important parameter implicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource plus the precise outputs: 'Compute sunrise, sunset and civil twilight for the exact calendar date and IANA zone.' This clearly separates it from get_weather and the search/get_* siblings. It stops short of naming an alternative tool explicitly, so it is a 4 rather than a 5.

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 the domain (ask for daylight at a peak on a date) and the closing line hints that weather/terrain are separate concerns, but there is no explicit 'use this when' or 'use get_weather instead for X' routing. Nothing misleading, just no guidance for choosing between daylight and weather lookups.

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