Skip to main content
Glama
IBM

chuk-mcp-open-meteo

by IBM

get_historical_weather

Retrieve historical weather data for any location by specifying latitude, longitude, and date range. Choose from hourly or daily variables like temperature, precipitation, and wind speed.

Instructions

Get historical weather data from Open-Meteo Archive API.

Args: latitude: Latitude coordinate (-90 to 90) longitude: Longitude coordinate (-180 to 180) start_date: Start date in YYYY-MM-DD format end_date: End date in YYYY-MM-DD format temperature_unit: Temperature unit - celsius, fahrenheit wind_speed_unit: Wind speed unit - kmh, ms, mph, kn precipitation_unit: Precipitation unit - mm, inch timezone: Timezone (e.g., 'America/New_York', 'auto' for automatic) hourly: Comma-separated hourly variables daily: Comma-separated daily variables

Returns: HistoricalWeather: Pydantic model with historical data

Example: historical = await get_historical_weather( 48.8566, 2.3522, "2024-01-01", "2024-01-07", daily="temperature_2m_max,temperature_2m_min" ) avg_high = sum(historical.daily.temperature_2m_max) / len(historical.daily.temperature_2m_max)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dailyNo
hourlyNo
end_dateYes
latitudeYes
timezoneNoauto
longitudeYes
start_dateYes
wind_speed_unitNokmh
temperature_unitNocelsius
precipitation_unitNomm
Behavior2/5

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

No annotations are provided, so the description must cover behavioral traits. It mentions the Open-Meteo Archive API but does not disclose rate limits, data availability, mutation risks, or response details. The behavioral context is minimal.

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 well-structured with 'Args', 'Returns', and 'Example' sections. Every sentence adds value, and the example illustrates usage clearly. No wasted words.

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?

The description covers parameters and return type well, but lacks explanation for hourly/daily variable formatting and error handling. Given no output schema, it provides a good but not exhaustive overview.

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?

With 0% schema description coverage, the description fully compensates by detailing each parameter's purpose, format (e.g., 'YYYY-MM-DD'), ranges (e.g., '-90 to 90'), and defaults. It also explains the return type as a Pydantic model.

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 clearly states 'Get historical weather data from Open-Meteo Archive API,' distinguishing it from sibling tools like 'get_weather_forecast' (forecast) and 'batch_get_historical_weather' (batch). The verb 'Get' and resource 'historical weather data' are specific and unambiguous.

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 implicitly guides usage by specifying it retrieves historical data, contrasting with forecast-related siblings. However, it lacks explicit when-to-use and when-not-to-use instructions or alternative mentions.

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

Install Server

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/IBM/chuk-mcp-open-meteo'

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