Skip to main content
Glama

Get weather forecast

get_forecast

Get daily weather forecasts for any city for the next 1-7 days, showing expected conditions, high/low temps, rain chance, and peak wind speed to plan ahead.

Instructions

Look up the daily weather forecast for a city, for anywhere from 1 to 7 days ahead. Use this when the question is about the future — what tomorrow looks like, whether the weekend will be dry, whether to pack for rain. You get one entry per day with the expected conditions, high and low temperature, chance and amount of rain, and peak wind speed. For conditions at this exact moment, use get_current instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityYesThe city to look up, written the way a person would say it — "Lisbon", "New York", or "Springfield, United States" when the name alone is ambiguous.
daysNoHow many days to forecast, counting today as day one. Open-Meteo covers up to 7 days; ask for 1 if only today matters, 7 for the full range. Leave this out for a general outlook and you get 3.
Behavior4/5

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

With no annotations, the description carries the burden and does well: it explains the output format (one entry per day with conditions, temps, rain, wind) and the forecast horizon. It doesn't mention potential limitations or side effects, but for a read-only forecast, no such concerns are expected, so this is acceptable.

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 compact and front-loaded. It uses three sentences to cover purpose, usage examples, and the alternative tool, with no filler. Every sentence contributes value.

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?

The description fully compensates for the missing output schema by summarizing the response structure. It also provides semantic context (daily entries, fields) and clear sibling differentiation. For a simple 2-parameter tool with a rich schema, nothing essential is missing.

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?

The input schema covers 100% of parameters with detailed descriptions. The tool description adds a little extra context about output entries and the usable day range, but it largely reiterates what the schema already conveys, so it doesn't significantly elevate beyond the schema baseline.

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 the tool's function ('Look up the daily weather forecast for a city') and scope (1-7 days ahead). It explicitly distinguishes from the sibling tool get_current by directing users there for current conditions, making the purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use guidance with concrete examples ('what tomorrow looks like, whether the weekend will be dry') and names the alternative for real-time conditions ('use get_current instead'). This fully addresses usage context and selection among siblings.

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

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