Skip to main content
Glama
Open-Meteo MCP Server

Open-Meteo MCP Server

by VuyoDigital

get_forecast

Retrieve a short daily weather forecast for a city or town over 1–7 days, enabling AI agents to plan around expected conditions.

Instructions

Get a short daily weather forecast for a city or town.

Args: location: City or town name, for example "Johannesburg". days: Number of forecast days to return. Must be between 1 and 7.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "location": "<location>"
    },
    "name": "get_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
locationYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the full behavioral burden. It does provide one meaningful constraint, the accepted days range of 1 to 7, which is not in the schema, but it omits the temperature unit, how the location is resolved or disambiguated, and what happens when days is out of range.

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 entry is two short, front-loaded statements and nothing is wasted. The docstring-style "Args:" block is a minor formatting artifact but still readable and scannable.

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?

Return values are covered by an output schema, so the description only needs to explain invocation, which it does for a two-parameter tool. The remaining gaps, temperature unit and location disambiguation, are small relative to a simple lookup tool.

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 description coverage is 0%, so the description must define the parameters, and it largely does: location is a city or town name with a concrete example, and days is bounded to 1 through 7. It does not clarify whether location accepts qualifiers such as state or country, which leaves some ambiguity.

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 uses a specific verb and resource ("Get a short daily weather forecast") and states the scope of input (a city or town). It does not differentiate itself from the sibling get_current_weather, so the agent must infer the distinction from the words "future forecast" alone.

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?

Usage is only implied: "daily weather forecast" suggests multi-day future data, which contrasts loosely with a current-weather sibling, but the description never says when to use this tool instead of that one, nor does it state any prerequisites or exclusions.

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

Deploy Server

Other Tools