Skip to main content
Glama

MET Norway — Sunrise, Sunset & Moon Times

metno.astronomy.sunrise
Read-onlyIdempotent

Get precise sunrise, sunset, solar noon, and solar midnight times for any global coordinate and date from the Norwegian Meteorological Institute Sunrise 3.0 API. For the Sun: returns sunrise time + azimuth, sunset time + azimuth, solar noon elevation and visibility. For the Moon: returns moonrise, moonset, high moon, low moon, and lunar phase (0–360°). Supports UTC offset for local time output. Global coverage; handles polar day/night (midnight sun / polar night). CC BY 4.0 + NLOD 2.0, no auth, no upstream cost.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latYesLatitude in decimal degrees (e.g. 59.91 for Oslo, 51.5 for London)
lonYesLongitude in decimal degrees (e.g. 10.75 for Oslo, -0.12 for London)
bodyNoCelestial body: "sun" returns sunrise/sunset/solarnoon (default), "moon" returns moonrise/moonset/phase.
dateYesDate to compute times for in ISO 8601 format YYYY-MM-DD (e.g. "2026-06-24")
offsetNoUTC offset for local time output in ±HH:MM format (e.g. "+02:00" for CEST). Defaults to UTC.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=falseasi, so the safety profile is known. The description adds valuable behavioral context beyond annotations: licensing (CC BY 4.0 + NLOD 2.0), no auth, no upstream cost, UTC offset support, and polar day/night handling. This is meaningful additional disclosure without contradicting the annotations.

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 a well-structured single paragraph that front-loads the core purpose, then cleanly separates sun and moon outputs, and ends with licensing and coverage. Every sentence provides useful information with no redundancy or fluff.

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?

Given an output schema exists (not shown but indicated), the description need not explain return values. It covers the essential operational aspects: global scope, any date, sun and moon outputs, UTC offset, polar day/night, licensing, auth-free access, and no cost. This is complete for an agent to invoke the 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?

Schema description coverage is 100%, so all five parameters are already well-documented (lat, lon, body, date, offset). The description adds a summary of outputs for sun vs moon and mentions UTC offset support, but it does not significantly go beyond what the schema already provides. Baseline 3 applies due to high schema coverage.

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?

The description clearly states the verb 'Get' and the resource: sunrise, sunset, solar noon, and solar midnight times for any global coordinate and date. It further details the specific outputs for both sun and moon, making it easy to understand what the tool does. However, it does not explicitly name or differentiate from sibling tools like sunrisesunset.astronomy.daily, so it lacks the explicit sibling differentiation required for 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?

The description implies usage for any global coordinate and dateainer and highlights polar day/night support, which gives context on when it is appropriate. But it does not explicitly state when to use this versus alternatives or mention any exclusions, so it only reaches 'implied usage' rather than clear guidance.

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.