Skip to main content
Glama

Current weather

get_current_weather
Read-onlyIdempotent

Retrieve current weather conditions for a location, including temperature, humidity, wind, pressure, UV index, and precipitation from multiple European sources.

Instructions

Get current weather conditions for a location. Returns temperature, feels-like, humidity, wind, pressure, cloud cover, UV index, and precipitation aggregated from multiple sources. Measured values come first: the nearest station (within 15 km) of the national weather service in Finland (FMI), Sweden (SMHI), Denmark (DMI), Iceland (IMO), Lithuania (LHMT) and Estonia, and MET Norway's MET Nordic analysis in Norway, Sweden, Finland and Denmark.

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
fieldsNoRequested output fields; skips fallback providers once these weather fields are filled.
locationYesCity name, coordinates (lat,lon), ICAO code or Finnish city alias (e.g. "Helsinki", "hki", "60.17,24.94", "EFHK")

Output Schema

NameRequiredDescriptionDefault
sourcesYes
uvIndexNo
dewPointNo
humidityNo
locationYesResolved location
pressureNohPa, sea level
feelsLikeNo
snowDepthNocm, measured at the FMI station
windGustsNo
windSpeedNo
cloudCoverNo
conditionsNo
measuredAtNonational weather service station whose measurement is used (within 15 km); in Norway the MET Nordic analysis at the point
visibilityNometres
attributionNo
temperatureNo
precipitationNomm
windDirectionNo
nearestStationNoNearest national station within 50 km, for reference only (not used in the values)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive, open-world), so the description's added value is real: it discloses the source priority ('measured values come first'), the 15 km station radius, the specific national providers per country, and the fallback analysis model. That is exactly the kind of provenance and coverage behavior not expressible in annotations, though it stops short of saying what happens when no station or provider covers the location.

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 sentences, front-loaded with purpose then return values then source behavior; little waste. The provider roll-call with country names and acronyms is long but earns its place by defining coverage boundaries.

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

Completeness5/5

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

An output schema exists, so enumerating return fields is optional context rather than a gap. Coverage limits, source precedence, and the station radius are all stated, which is what an agent needs to decide whether this tool's answer will be trustworthy for a given location.

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 the schema already documents the location formats and the fields enum and its fallback-skipping behavior. The description reinforces 'aggregated from multiple sources' and 'measured values come first,' which gives useful context for the sources/attribution fields, but adds no syntax or constraint beyond the schema — the baseline 3.

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?

The description opens with a specific verb and resource: 'Get current weather conditions for a location,' and immediately names the returned quantities (temperature, humidity, wind, UV index, precipitation). The word 'current' plus 'aggregated from multiple sources' separates it cleanly from the forecast, nowcast, and METAR siblings without needing their names.

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: 'current weather conditions' signals the present-time case, so an agent can infer this is not the forecast tool. However, there is no explicit statement of when to prefer it over get_weather_forecast, get_metar, or get_precipitation_nowcast, and no exclusion for locations outside the named countries.

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