Skip to main content
Glama

Weather Time Series

weather_time_series
Read-onlyIdempotent

Retrieve historical weather data for any past date range up to 90 days daily or 7 days hourly. Requires start and end dates and a location.

Instructions

Get historical weather data over a date range (time series). Max range: 90 days for daily precision, 7 days for hourly. Only past dates are allowed — current or future dates are rejected. Data available back to 1940. Provide at least one of: 'location', lat+long, or 'ip'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
start_dateYesStart date in YYYY-MM-DD format. Must be a past date.
end_dateYesEnd date in YYYY-MM-DD format. Must be a past date. Max 90 days from start_date (daily) or 7 days (hourly).
locationNoTarget location — city name, place name, or full address (e.g. "London", "Paris, France", "1600 Amphitheatre Parkway, Mountain View, CA").
latNoLatitude (-90 to 90). Must be paired with 'long'.
longNoLongitude (-180 to 180). Must be paired with 'lat'.
ipNoIPv4 or IPv6 address. Required if 'location' and lat/long are not provided.
precisionNoData granularity: 'daily' (default, max 90 days) or 'hourly' (max 7 days).daily
time_zoneNoTimezone for returned timestamps (tz database name, e.g. 'America/New_York'). Defaults to the resolved location's timezone.
Behavior4/5

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

Annotations already indicate read-only, non-destructive, idempotent, and open-world. The description adds behavioral details beyond annotations: date restrictions, precision limits, and location dependency. No contradictions.

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 single paragraph with clear front-loading of purpose, followed by constraints and requirements. No redundant words, each sentence adds essential information.

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?

Given the tool's complexity (8 params, 2 required, no output schema), the description covers the main use constraints and prerequisites. It does not describe output format, but the name and title imply a time series structure. An explicit return format would make it more complete.

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

Parameters4/5

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

Schema coverage is 100% with good descriptions. The description adds value by clarifying that at least one of location, lat+long, or ip must be provided, which is not enforced in the JSON schema. It also summarizes the precision and date constraints.

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 over a date range (time series)', which includes a specific verb and resource. It distinguishes from sibling tools like weather_current, weather_forecast, and weather_historical by emphasizing the time series aspect and date range constraints.

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 explicit constraints: max range 90 days daily, 7 days hourly; only past dates; data back to 1940; and location requirement (location, lat+long, or ip). While it does not explicitly mention when not to use or alternatives, the context is clear enough for an AI agent to decide.

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/api-freaks/apifreaks-mcp'

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