Skip to main content
Glama
Weather MCP Server

Weather MCP Server

by shayrylmae

get_current_weather

Retrieve real-time current weather conditions for any city or coordinates worldwide, including temperature, feels-like, humidity, precipitation, and wind.

Instructions

Get real-time current weather conditions for any city worldwide. Returns temperature, feels-like temperature, humidity, precipitation, weather description, and wind information. 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_current_weather"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity name (e.g., 'London', 'Tokyo', 'New York'). Required if latitude/longitude not provided.
countryNoOptional country code for disambiguation (e.g., 'US', 'GB', 'JP')
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

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the whole burden and does disclose the returned fields (temperature, feels-like, humidity, precipitation, description, wind) and that data is real-time. It omits error behavior for unrecognized cities, units, and any auth or rate-limit constraints, which matters more here because nothing else documents them.

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?

Three sentences with no filler: purpose and scope first, return payload second, input modes third. Every sentence contributes information an agent would otherwise lack.

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 four-parameter lookup with no output schema, the description is nearly sufficient: it enumerates the return fields and both input modes. The remaining gap is operational detail such as units and failure behavior, which matters somewhat given the absence of annotations.

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 100%, so the baseline is 3, but the description adds genuinely non-obvious semantics: city name OR latitude/longitude are alternative modes. Since the schema marks no parameters as required and defines no oneOf constraint, that sentence is what tells the agent at least one locator form is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get real-time current weather conditions" is a specific verb+resource, and "current" implicitly separates it from the forecast, historical, and hourly siblings. An agent can tell this is the point-in-time observation tool without opening the schema.

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?

The description states the two input modes (city versus lat/lon), which is useful context, but never says when to prefer this over get_weather_forecast or get_historical_weather, nor any when-not-to-use condition. Usage is inferred from the word "current" rather than stated.

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