Skip to main content
Glama
schlpbch

open-meteo-mcp

by schlpbch

get_astronomy

Retrieve sunrise, sunset, golden hour, blue hour, and moon phase times for any location to plan photography, events, or outdoor activities.

Instructions

Provides astronomical data for a location (sunrise, sunset, golden hour).

Useful for photography, event planning, and outdoor activity scheduling.

Data Provided:

  • Sunrise and sunset times

  • Day length

  • Golden hour (best lighting for photography)

  • Blue hour (evening twilight)

  • Moon phase information

  • Best photography windows

Use cases:

  • Photography location scouting

  • Outdoor event planning

  • Sunrise/sunset viewing trips

  • Time-lapse and video production planning

Examples:

  • "When is sunset in Zurich?"

  • "Best time for golden hour photography?"

  • "What's the sunrise time for hiking?"

Args: latitude: Latitude in decimal degrees longitude: Longitude in decimal degrees timezone: Timezone for timestamps (default: 'auto' tries to auto-detect)

Returns: Dictionary containing: - sunrise: Sunrise time (ISO format) - sunset: Sunset time (ISO format) - day_length_hours: Total daylight hours - golden_hour: Start and end times for optimal lighting - blue_hour: Twilight window for photography - moon_phase: Current lunar phase - best_photography_windows: Recommended times for photos

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latitudeYes
timezoneNoauto
longitudeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are present, so the description carries the behavioral burden. It discloses the provided data fields, the return dictionary structure, and important timezone behavior ('auto' tries to auto-detect). It could mention read-only nature or potential data limitations, but nothing contradicts the operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is longer than average but well-organized with headings, use cases, examples, and return structure. The core purpose is front-loaded, and each section earns its place even if a few examples could be trimmed.

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?

For a low-complexity tool with three parameters, the description is complete: it explains data provided, use cases, example queries, parameter semantics, and return fields. The output schema exists, and the description covers the relevant return values, so an agent has enough context to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the Args section compensates fully by explaining latitude, longitude, and timezone in meaningful terms, including units and the auto-detect behavior of the default timezone. This adds substantial value beyond the raw schema.

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 states a specific verb and resource: 'Provides astronomical data for a location (sunrise, sunset, golden hour)'. This clearly distinguishes it from sibling tools like get_weather, get_snow_conditions, and get_air_quality by focusing on astronomy-specific times and photography conditions.

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 provides clear use cases such as photography location scouting, event planning, and sunrise/sunset viewing, plus concrete example queries. It does not explicitly say when not to use it or name alternative tools, but the context is strong enough to guide an agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/schlpbch/open-meteo-mcp-py'

If you have feedback or need assistance with the MCP directory API, please join our Discord server