Skip to main content
Glama
Weather MCP Server

Weather MCP Server

by shayrylmae

get_weather_forecast

Retrieve daily weather forecasts for up to 16 days by city or coordinates, including temperatures, precipitation, conditions, and wind speeds to help plan trips or events.

Instructions

Get weather forecast for up to 16 days. Returns daily predictions including max/min temperatures, precipitation, weather conditions, and wind speeds. Perfect for planning trips or events. Accepts either city name OR latitude/longitude coordinates.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_weather_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity name. Required if latitude/longitude not provided.
daysNoNumber of forecast days (1-16, default: 7)
countryNoOptional country code
latitudeNoLatitude coordinate. Must be provided with longitude if city is not specified.
longitudeNoLongitude coordinate. Must be provided with latitude if city is not specified.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/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 well on output content (max/min temperatures, precipitation, conditions, wind speeds) and the 16-day ceiling, but says nothing about units (metric vs imperial), data source/freshness, or what happens when neither city nor coordinates are supplied — relevant because the schema marks all five parameters optional.

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?

Four sentences, front-loaded with purpose and scope before output details and input modes. The only soft filler is the 'Perfect for planning trips or events' clause, which occupies space without adding operational 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?

With no annotations and no output schema, the description does the necessary work: it summarizes return fields, caps the horizon, and resolves the risky empty required-array by explaining that city or lat/long must be provided. Residual gaps are units and failure behavior for a call with no location arguments.

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 coverage is 100%, so the schema already documents each parameter's role and constraints. The description restates the city-OR-coordinate rule, which is useful confirmation but largely duplicates the per-field schema text, and it adds no guidance on the optional 'country' field or on unit selection.

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?

States a specific verb and resource ('Get weather forecast') with a hard scope boundary ('up to 16 days') and clarifies the output is 'daily predictions,' which implicitly separates it from get_hourly_weather and get_current_weather. It never names a sibling explicitly, so the differentiation is inferred rather than stated.

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?

'Perfect for planning trips or events' hints at a use case but gives no when-not guidance and does not point to get_current_weather, get_historical_weather, or get_hourly_weather as alternatives. An agent must infer the forecast-vs-current-vs-historical split from the tool name alone.

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