Skip to main content
Glama
deepcodes7

MCP Weather Server

by deepcodes7

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENWEATHER_API_KEYYesYour OpenWeatherMap API key (required for the server)
OPENWEATHER_BASE_URLNoThe base URL for the OpenWeatherMap APIhttps://api.openweathermap.org/data/2.5

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_weatherB

Get the current weather for a city.

Args: city: Name of the city (e.g., "Toronto", "London", "Tokyo")

Returns: A formatted string with current weather conditions.

get_forecastB

Get a multi-day weather forecast for a city.

Args: city: Name of the city days: Number of days to forecast (1-5, default 3)

Returns: A formatted multi-day forecast summary.

Prompts

Interactive templates invoked by user choice

NameDescription
weather_report Generate a comprehensive weather report for a city. Args: city: Name of the city Returns: A formatted weather report.
travel_advisory Generate a travel weather advisory prompt. Args: city: Destination city days: Trip duration in days

Resources

Contextual data attached and managed by the client

NameDescription
list_supported_citiesList all cities this weather server supports as examples.
get_helpGet help on how to use the weather server.

TDQS

B3.2/5.0

Scored across 2 tools

Disambiguation4/5

The two tools have distinct purposes: get_weather for current conditions and get_forecast for multi-day predictions. However, the names could cause minor confusion as 'weather' and 'forecast' are semantically related, but the descriptions clearly differentiate them.

Naming Consistency5/5

Both tools follow a consistent verb_noun pattern with 'get_' prefix and snake_case naming. This makes them predictable and easy to understand at a glance.

Tool Count2/5

With only two tools, the server feels under-scoped for a weather domain. It lacks operations like historical data, alerts, or location-based searches, which are common in weather APIs and would enhance agent capabilities.

Completeness2/5

The toolset is severely incomplete for a weather server. It covers current and forecast data but misses essential operations like historical weather, severe alerts, air quality, or multi-location queries, leaving significant gaps for agent workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues