Skip to main content
Glama

Nws Get Observation History

nws_get_observation_history
Read-only

Get a station's recent observation history, newest first — the trend behind the single latest reading nws_get_observations returns (is pressure falling, is the wind picking up). NWS keeps about the last 7 days per station, and a busy airport station reports as often as every 5 minutes, so a day can run past 100 observations: narrow with start (inclusive) and end (exclusive), and page back to older observations with nextCursor. Takes a station ID; use nws_find_stations to find one near a coordinate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoTime to stop before (exclusive), in the same format as start. Omit to start from the most recent observation.
limitNoObservations per page (1-100), newest first. When a page fills the limit, pass its nextCursor back as cursor for older observations.
startNoEarliest observation time to include (inclusive), as an ISO 8601 date-time with seconds and an offset (e.g., "2026-09-30T00:00:00Z" or "2026-09-29T17:00:00-07:00"). Omit to reach back as far as NWS keeps, about 7 days.
cursorNoOpaque continuation token from a previous response's nextCursor. Omit for the first page. It carries that query's start, end, and limit, so those inputs apply to the first page only. Each page continues from just before the oldest observation of the one before it, so pages neither repeat nor skip an observation.
station_idYesObservation station ID (e.g., "KSEA"), case-insensitive. Use nws_find_stations to discover station IDs near a coordinate.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
capNoThe page limit this page filled, when truncated is true
errorNoPresent when the call failed. Absent on success.
shownNoNumber of observations returned in this page
noticeNoGuidance when the window held no observations (NWS keeps about the last 7 days), or when this page filled the limit and older observations may remain.
timeZoneNoStation time zone when known
stationIdNoObservation station ID, uppercased
truncatedNoTrue when this page filled the limit and older observations in the window may remain; continue with nextCursor.
nextCursorNoOpaque token for the next, older page — pass it back as cursor. Present only when this page filled the limit; omitted on the last page.
stationNameNoStation name
observationsNoObservations in the window, newest first

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds genuinely useful operational context beyond that: ~7-day retention per station, roughly 5-minute reporting cadence at busy airports yielding 100+ observations per day, and an assurance that paging neither repeats nor skips observations. It does not mention rate limits or error behavior, keeping it short of a 5.

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 tight sentences, front-loaded with the core purpose before retention, volume, and paging details. Every clause carries operational information; nothing is filler or repetition of the tool name.

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?

With an output schema present, return-value documentation is unnecessary, and the description covers everything else an agent needs: how to obtain a station ID, how far back data reaches, expected data volume, and full pagination mechanics.

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 semantic constraints the schema doesn't spell out as directly: start is inclusive, end is exclusive, and nextCursor drives backward paging. It does not restate limit bounds or the cursor's opacity, which the schema already covers.

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?

States a specific verb and resource (recent observation history for a station, newest first) and explicitly differentiates itself from the sibling nws_get_observations by framing the result as 'the trend behind the single latest reading' that sibling returns. An agent can pick between the two without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use conditions (trend analysis vs. a single reading), names the discovery alternative (nws_find_stations to get a station ID near a coordinate), and explains how to narrow (start/end) and how to page back (nextCursor). No alternatives are left to inference.

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.