Skip to main content
Glama
openmeteo-mcp
by myAI-2025

get_hourly_forecast

Retrieve hour-by-hour weather forecasts for a named location, including Fahrenheit temperatures, precipitation probability, and conditions for the next 1–48 hours.

Instructions

Get the hour-by-hour weather forecast for a location given its name. Returns temperature (Fahrenheit), precipitation probability, and conditions for each upcoming hour.

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_hourly_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoHow many hours ahead to forecast (1-48). Default 12.
locationYesPlace name, e.g. 'Tokyo' or 'Austin, Texas'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does useful work by specifying the output shape (Fahrenheit temperatures, precipitation probability, conditions) and the forward-looking scope, but it says nothing about behavior for unresolvable location names, data freshness, or rate limits.

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?

Two sentences, both substantive, with the core purpose front-loaded and the return values following immediately. There is no filler or redundancy.

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?

For a simple two-parameter read tool with no output schema, this is nearly complete: purpose, scope, return fields, and units are all stated, and both parameters are documented in the schema. The only real gap is routing guidance relative to the get_weather sibling.

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?

Schema description coverage is 100%, so both the location format ('Tokyo', 'Austin, Texas') and the hours range (1-48, default 12) are already fully documented in the schema. The description only reinforces that the location is given by name, adding little meaning beyond the structured fields; baseline 3 applies.

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 pairs a specific verb and resource ("Get the hour-by-hour weather forecast for a location") and even enumerates the returned fields (temperature in Fahrenheit, precipitation probability, conditions). It is clearly distinguishable from a generic weather tool by its hourly grain, but it never names or contrasts with the sibling get_weather.

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: by emphasizing "hour-by-hour" and "each upcoming hour," an agent can infer this tool is for fine-grained forecasts rather than a general weather summary. There is no explicit when-to-use statement, no when-not-to-use, and no reference to the alternative get_weather.

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