Nws Get Observations
nws_get_observationsGet current weather observations (actual measured conditions). Accepts coordinates (resolves nearest station automatically) or a station ID directly (e.g., "KSEA").
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": "nws_get_observations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | No | Latitude for automatic station resolution. Use with longitude. Ignored if station_id is provided. | |
| longitude | No | Longitude for automatic station resolution. Use with latitude. Ignored if station_id is provided. | |
| station_id | No | Station identifier directly (e.g., "KSEA", "KORD"). Use nws_find_stations to discover station IDs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Guidance when the latest observation is more than 2 hours old or most measurements are unavailable from this station. | |
| station | No | Station ID that served the observation (e.g., "KSEA") | |
| timeZone | No | Station time zone when known | |
| dewpointC | No | Dewpoint in Celsius, to one decimal | |
| stationId | No | Observation station ID | |
| timestamp | No | Observation time (ISO 8601) | |
| heatIndexC | No | Heat index in Celsius, to one decimal | |
| observedAt | No | Observation timestamp (ISO 8601) | |
| windChillC | No | Wind chill in Celsius, to one decimal | |
| cloudLayers | No | Cloud layer information | |
| stationName | No | Station name | |
| visibilityM | No | Visibility in meters | |
| windGustKmh | No | Wind gust in km/h | |
| temperatureC | No | Temperature in Celsius, to one decimal (e.g., 8.3) | |
| windSpeedKmh | No | Wind speed in km/h | |
| textDescription | No | Conditions summary (e.g., "Mostly Cloudy") | |
| windDirectionDeg | No | Wind direction in degrees (0-360) | |
| seaLevelPressurePa | No | Sea-level pressure in Pascals, from the SLP remark of an hourly METAR (SLP129 → 1012.9 hPa, 101290 Pa). Null on 5-minute records and whenever NWS sends none. | |
| relativeHumidityPct | No | Relative humidity in percent (0-100) | |
| barometricPressurePa | No | Altimeter setting in Pascals: on METAR stations the A group, in hundredths of inHg (A3013 → 102030 Pa); stations in other networks, such as CWOP, fill it with their own reading. Not sea-level pressure (seaLevelPressurePa) — the two differ by several hPa at high-elevation stations. | |
| precipitationLastHourMm | No | Precipitation in the past hour in mm, to 0.1 mm. 0 is a trace (under 0.01 in), not a dry hour; null means no amount was reported, the usual value for a dry hour and on 5-minute reports. | |
| precipitationLast3HoursMm | No | Precipitation in the past 3 hours in mm, to 0.1 mm, carried by the hourly reports nearest 03, 09, 15, and 21 UTC. 0 is a trace (under 0.01 in); null means no amount was reported. | |
| precipitationLast6HoursMm | No | Precipitation in the past 6 hours in mm, to 0.1 mm, carried by the hourly reports nearest 00, 06, 12, and 18 UTC. 0 is a trace (under 0.01 in); null means no amount was reported. |