Skip to main content
Glama

weather

Current weather and the next 12 hours for a point or a city, from Open-Meteo. No API key required. Same argument shape as my other tools: lat/lon, or place.

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": "weather"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude, -90..90.
lonNoLongitude, -180..180.
placeNoCity name instead of coordinates, e.g. 'Seoul'. Resolved by Open-Meteo geocoding.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / lat
      Added value: +{
      +  "description": "Latitude, -90..90.",
      +  "type": "number"
      +}
    • removedInput schema / properties / latitude
      Removed value: -{
      -  "description": "-90 to 90.",
      -  "type": "number"
      -}
    • addedInput schema / properties / lon
      Added value: +{
      +  "description": "Longitude, -180..180.",
      +  "type": "number"
      +}
    • removedInput schema / properties / longitude
      Removed value: -{
      -  "description": "-180 to 180.",
      -  "type": "number"
      -}
    • addedInput schema / properties / place
      Added value: +{
      +  "description": "City name instead of coordinates, e.g. 'Seoul'. Resolved by Open-Meteo geocoding.",
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "latitude",
      -  "longitude"
      -]
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose useful traits: no API key required, the upstream provider (Open-Meteo), and the 12-hour forecast window. It omits units, error behavior when a place cannot be geocoded, and — since there is no output schema — what the response actually looks like, which are meaningful gaps for a data-returning tool.

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?

Three short sentences with the forecast scope front-loaded and no wasted prose. The 'same argument shape as my other tools' clause is slight filler but does convey cross-tool consistency, so it earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter, annotation-free tool with no output schema, the description covers source, time window, and input shape, but leaves units and return structure unexplained. It also does not address what happens when all three optional parameters are omitted, which is a real ambiguity given zero required parameters.

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 each parameter is already documented in detail. The description's 'lat/lon, or place' phrasing hints that coordinates and place are alternatives, but the schema already says place is used 'instead of coordinates,' so the added meaning is minimal. Baseline 3 is appropriate.

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 names the resource (weather), the time horizon (current plus the next 12 hours), and the accepted locators (point or city), so an agent knows exactly what it returns. It does not explicitly contrast with siblings like sky_at or earth_now, but the weather-specific framing is distinct enough on its own.

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: the agent must infer that this is the tool for current/12-hour forecasts rather than, say, sky_at or sky_tonight. There is no explicit when-to-use or when-not-to-use statement and no named alternative, though the 'lat/lon, or place' line gives a hint about input choice.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources