Skip to main content
Glama
yehyaabk

Weather MCP Agent

by yehyaabk

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENWEATHER_API_KEYYesYour OpenWeatherMap API key

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
fetch_current_weatherA

Fetch the current weather conditions for a given city.

Args: city (str): Name of the city to fetch weather data for.

Returns: dict[str, Any]: A dictionary containing the city, country, temperature, feels-like temperature, min/max temperature, humidity, and weather description. Returns a dictionary with an "error" key if the request fails or the data cannot be retrieved.

fetch_weather_forecastA

Fetch the weather forecast for a given city.

Args: city (str): Name of the city to fetch forecast data for.

Returns: dict[str, Any]: A dictionary containing the city, country, and a list of forecast entries (temperature, datetime, and description) at 3-hour intervals. Returns a dictionary with an "error" key if the request fails or the data cannot be retrieved.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
weather_config_resource

TDQS

A4.2/5.0

Scored across 2 tools

Disambiguation5/5

The two tools are clearly distinct: one provides current conditions, the other provides a forecast. There is no overlap or ambiguity between them.

Naming Consistency5/5

Both tool names follow a consistent 'fetch_' + noun pattern, with names fetch_current_weather and fetch_weather_forecast. The naming is predictable and uniform.

Tool Count3/5

With only 2 tools, the set is on the thin side for a weather server, though it covers the core current and forecast needs. It feels slightly minimal but not inadequate.

Completeness4/5

The server covers the two most essential weather operations: current conditions and forecasts. Notable gaps include historical weather data and alerts, but these are optional extras rather than essential missing functionality.

Maintenance

ActivitySlowing
ResponsivenessNo issues