Skip to main content
Glama
Open-Meteo MCP Server

Open-Meteo MCP Server

by VuyoDigital

get_current_weather

Retrieve current weather conditions for any city or town by name using the Open-Meteo API, so AI agents can answer location-based weather questions.

Instructions

Get the current weather for a city or town.

Args: location: City or town name, for example "Johannesburg" or "Cape Town".

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "location": "<location>"
    },
    "name": "get_current_weather"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses almost nothing: no indication of units (metric vs imperial), data freshness, authentication or key requirements, or what happens for an unrecognized city. It only says 'current', which is the minimum implied mutation-free behavior for a read 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?

Front-loaded with a single clear sentence, then a compact args block. The title/field restatement ('Location') is mildly redundant but the whole definition is appropriately short with no filler.

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 one-parameter tool with an output schema, the description covers the essential shape of the call. It still leaves gaps an agent would care about — measurement units and disambiguation of duplicate city names — which matter for real weather queries.

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 0% — the location property is a bare string with no description — so the docstring must compensate. It does partially, naming the argument and giving format examples ('Johannesburg', 'Cape Town') that establish a city/town name rather than coordinates or an ID, but adds nothing about accepted variants, ambiguity handling, or optional qualifiers.

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 the current weather for a city or town.' An agent can tell this is a live-conditions lookup rather than a forecast, though it never names or contrasts the get_forecast sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance. The word 'current' implicitly separates it from get_forecast, but the agent must infer that a future-conditions request belongs elsewhere; nothing states prerequisites or exclusions.

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

Deploy Server

Other Tools