Skip to main content
Glama

Get Water Level

noaa_marine_get_water_level
Read-onlyIdempotent

Observed water level, real-time or historical, for a CO-OPS water-level station, paired with tide predictions for the same period so the residual (observed − predicted) shows storm surge when positive and anomalous drawdown when negative. The interval selects the cadence: 6min (default) is the full curve, hourly and high_low cover months to a year of the same series at far fewer rows, and daily_mean serves Great Lakes stations only. Each interval carries its own CO-OPS range ceiling — 31 days for 6min, 365 for hourly and high_low, 3655 for daily_mean — rejected locally before the call, and only 6min and hourly report a residual. Observations and predictions are fetched independently, so when the prediction series is empty, predictions_status says whether CO-OPS has none for this station and range or the prediction fetch failed — the observed series returns either way, and residual_summary is present only when both series are and the cadence supports the join. A sensor outage leaves slots with no reading; those slots are dropped and counted in gaps_dropped, so the observed series is continuous across the range only when that count is absent. Each call returns up to limit observations from offset, with the predictions in their time span; a range of at most limit observations returns whole, and a longer one reports rows_matched, rows_returned, and next_offset, the offset that reaches the rest. Use noaa_marine_find_stations first to resolve a station name or location to a valid station ID.

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": {
      "station_id": "<station_id>",
      "begin_date": "<begin_date>",
      "end_date": "<end_date>"
    },
    "name": "noaa_marine_get_water_level"
  }
}

Input Schema

NameRequiredDescriptionDefault
datumNoDatum the observed heights are referenced to. MLLW (default) is the US nautical chart datum, and MHHW (mean higher high water) is the flooding reference; MHW, MTL, MSL, and MLW are the other tidal planes. NAVD is NAVD88 and reads only where the station has an NAVD88 tie. STND is the station's own datum and is the plane that works where no tidal datum exists. IGLD and LWD apply at Great Lakes stations only, and CRD at Columbia River stations only. LWI and HWI are lunitidal intervals available in monthly means. A datum this station does not carry comes back as datum_unavailable, whose hint names a datum to retry with, and a station with no water-level gauge at all as no_gauge.MLLW
limitNoObservation rows to return on this page; predictions cover the same time span. Default 50; a larger value returns at most 1,000 and says so.
unitsNoUnit system: english = feet; metric = meters.english
offsetNoRow offset into the matched observation series, for reading a range longer than one page. 0 (default) starts at the first row; pass the next_offset from a previous call to continue. An offset past the last row returns an empty page rather than an error.
end_dateYesEnd date (inclusive), YYYYMMDD or YYYY-MM-DD, e.g. "20240601" or "2024-06-01".
intervalNoObserved cadence. 6min (default) is the full curve, 31 days per request, the only one carrying a quality flag. hourly is hourly heights, 365 days per request, and reports a residual against the hourly prediction series. high_low is the observed high and low waters with their H/HH/L/LL classification, 365 days per request, and reports no residual because observed extremes do not fall on predicted extreme times. daily_mean is the daily mean water level, 3655 days per request, published at Great Lakes stations only and with no paired prediction series; a coastal station comes back as great_lakes_only.6min
time_zoneNoTime zone for returned timestamps. lst_ldt = local standard/daylight time (default); gmt = UTC; lst = local standard time year-round. Overridden to lst on interval="daily_mean", which CO-OPS serves in local standard time only and otherwise stamps every row a day off.lst_ldt
begin_dateYesStart date, YYYYMMDD or YYYY-MM-DD, e.g. "20240601" or "2024-06-01".
station_idYesCO-OPS water-level station ID (numeric, e.g. "9447130" for Seattle). Obtain from noaa_marine_find_stations with types=["water_level"].

Output Schema

NameRequiredDescriptionDefault
datumNoTidal datum used — echoed for correct interpretation of water heights.
errorNoPresent when the call failed. Absent on success.
unitsNoHeight units: "english" (feet) or "metric" (meters).
noticeNoThat limit was clamped to its cap, why the paired prediction series is missing or carries no residual, how many sample slots were dropped, where a recent hourly or daily mean series ends short of the requested range, and what this page covers — whichever apply, composed into one string.
intervalNoObserved cadence echoed from the request — the CO-OPS product these rows came from, and what decides whether quality, type, and residual_summary are populated.
truncatedNoTrue when this page stops short of the last matched observation, so further rows remain at next_offset. False on the final page and on a page past the end. Absent when the whole matched series was returned.
station_idNoStation ID echoed from the request — for chaining.
next_offsetNoOffset to pass as offset on the next call, or null when this page reaches the last matched observation. Absent when the whole matched series was returned.
page_offsetNoObservation row offset this page starts at, echoed from the request. Absent when the whole matched series was returned.
predictionsNoPaired tide predictions covering the same period as the returned observations, at the interval matching the observed cadence. Every prediction in the page span is included and none repeats across pages, so a page whose span crosses a sensor outage carries more predictions than observations. Always empty on the daily_mean interval, which has no paired series. Otherwise empty when CO-OPS returned no predictions for this station and range, or when the prediction fetch failed — predictions_status says which.
gaps_droppedNoNumber of sample slots CO-OPS sent with no reading, dropped from observations. Present only when there was at least one. The observed series is therefore not continuous across the requested range: it has this many missing slots, and rows_matched counts only the slots that carry a value.
observationsNoObserved water level readings at the requested cadence — the whole matched series when it holds at most limit rows, otherwise the page of up to limit rows starting at offset. rows_matched and next_offset report what a page left behind.
rows_matchedNoObservation rows the requested date range matched, before the page was cut. Absent when the whole matched series was returned.
station_nameNoStation name as returned by CO-OPS.
rows_returnedNoObservation rows this page carries — the length of observations. Absent when the whole matched series was returned.
residual_summaryNoSummary of observed-minus-predicted residuals in the requested units, computed across the whole matched series rather than the returned page — so a paged response still reports the largest surge in the range. Present only on the 6min and hourly intervals, and only when both series are available; the notice says why it is absent on high_low and daily_mean.
observed_extremesNoHighest and lowest observations at this cadence across the full matched series before paging. On daily_mean, both values are daily averages.
predictions_statusNoPresent only when predictions is empty on an interval that has a paired series. "empty" means CO-OPS returned no prediction rows for this station and date range; "unavailable" means the prediction fetch failed, so no comparison series could be retrieved and the absence says nothing about the station. Absent when predictions were returned, and on the daily_mean interval, which has no paired series to report on.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / datum / description
      Previous value: -"Datum the observed heights are referenced to. MLLW (default) is the US nautical chart datum, and MHHW (mean higher high water) is the flooding reference; MHW, MTL, MSL, and MLW are the other tidal planes. NAVD is NAVD88 and reads only where the station has an NAVD88 tie. STND is the station's own datum and is the plane that works where no tidal datum exists. IGLD and LWD apply at Great Lakes stations only, CRD at Columbia River stations only, and LWI and HWI are lunitidal intervals rather than heights. A datum this station does not carry comes back as datum_unavailable, whose hint names a datum to retry with, and a station with no water-level gauge at all as no_gauge."New value: +"Datum the observed heights are referenced to. MLLW (default) is the US nautical chart datum, and MHHW (mean higher high water) is the flooding reference; MHW, MTL, MSL, and MLW are the other tidal planes. NAVD is NAVD88 and reads only where the station has an NAVD88 tie. STND is the station's own datum and is the plane that works where no tidal datum exists. IGLD and LWD apply at Great Lakes stations only, and CRD at Columbia River stations only. LWI and HWI are lunitidal intervals available in monthly means. A datum this station does not carry comes back as datum_unavailable, whose hint names a datum to retry with, and a station with no water-level gauge at all as no_gauge."
    • changedInput schema / properties / datum / enum
      Previous value: -[
      -  "MLLW",
      -  "MHHW",
      -  "MHW",
      -  "MTL",
      -  "MSL",
      -  "MLW",
      -  "NAVD",
      -  "STND",
      -  "IGLD",
      -  "LWD",
      -  "CRD",
      -  "LWI",
      -  "HWI"
      -]New value: +[
      +  "MLLW",
      +  "MHHW",
      +  "MHW",
      +  "MTL",
      +  "MSL",
      +  "MLW",
      +  "NAVD",
      +  "STND",
      +  "IGLD",
      +  "LWD",
      +  "CRD"
      +]
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "not": {
      -      "required": [
      -        "error"
      -      ]
      -    },
      -    "required": [
      -      "station_id",
      -      "station_name",
      -      "datum",
      -      "units",
      -      "interval",
      -      "observations",
      -      "predictions"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "error"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "station_id",
      +      "station_name",
      +      "datum",
      +      "units",
      +      "interval",
      +      "observations",
      +      "predictions",
      +      "observed_extremes"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `station_not_found`: CO-OPS returned an error for the station ID. `invalid_date_range`: begin_date or end_date is not a real calendar date, or the range starts after it ends. `date_range_exceeded`: Requested date range exceeds the selected interval's CO-OPS limit — 31 days for 6min, 365 for hourly and high_low, 3655 for daily_mean. `no_data`: Station exists but no observed water-level data for the date range — including an hourly, high_low, or daily_mean window ending before the prior month, which is not a verification lag. `future_window`: begin_date is after the station's current date in the zone CO-OPS reads the dates in — the UTC date under time_zone gmt, the station's local date under lst and lst_ldt and on interval daily_mean — so no observation in the window exists yet. `no_gauge`: CO-OPS rejected the datum at a station that is in neither its active nor its historic water-level station list, so the station has never had a water-level gauge and holds no observed water levels at any datum. `great_lakes_only`: interval=\"daily_mean\" was requested for a coastal station — CO-OPS publishes water-level daily means at Great Lakes stations only. `verified_data_lag`: The hourly, high_low, or daily_mean product returned no rows for a window ending on or after the first day of the prior month, which CO-OPS may not have verified yet. `datum_unavailable`: The station does not carry the requested datum — a Great Lakes station has no tidal datum, and NAVD reads only where the station has an NAVD88 tie. `upstream_throttled`: CO-OPS answered the observed-series request with HTTP 403, which it returns for about two minutes while it throttles a burst of requests from one address. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `station_not_found`: CO-OPS returned an error for the station ID. `invalid_date_range`: begin_date or end_date is not a real calendar date, or the range starts after it ends. `date_range_exceeded`: Requested date range exceeds the selected interval's CO-OPS limit — 31 days for 6min, 365 for hourly and high_low, 3655 for daily_mean. `no_data`: Station exists but has no observed water-level data for the date range, including a window wholly after gauge removal or a verified-product window ending before the prior month. `future_window`: begin_date is after the station's current date in the zone CO-OPS reads the dates in — the UTC date under time_zone gmt, the station's local date under lst and lst_ldt and on interval daily_mean — so no observation in the window exists yet. `no_gauge`: CO-OPS rejected the datum at a station that is in neither its active nor its historic water-level station list, so the station has never had a water-level gauge and holds no observed water levels at any datum. `great_lakes_only`: interval=\"daily_mean\" was requested for a coastal station — CO-OPS publishes water-level daily means at Great Lakes stations only. `verified_data_lag`: The hourly, high_low, or daily_mean product reported no coverage for a window ending on or after the first day of the prior month, which CO-OPS may not have verified yet. A window confirmed to start after gauge removal returns no_data. `datum_unavailable`: The station does not carry the requested datum — a Great Lakes station has no tidal datum, and NAVD reads only where the station has an NAVD88 tie. `upstream_throttled`: CO-OPS answered the observed-series request with HTTP 403, which it returns for about two minutes while it throttles a burst of requests from one address. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / notice / description
      Previous value: -"That limit was clamped to its cap, why the paired prediction series is missing or carries no residual, how many sample slots were dropped, and what this page of the observed series covers — whichever of those apply, composed into one string in that order."New value: +"That limit was clamped to its cap, why the paired prediction series is missing or carries no residual, how many sample slots were dropped, where a recent hourly or daily mean series ends short of the requested range, and what this page covers — whichever apply, composed into one string."
    • addedOutput schema / properties / observed_extremes
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Highest and lowest observations at this cadence across the full matched series before paging. On daily_mean, both values are daily averages.",
      +  "properties": {
      +    "max": {
      +      "additionalProperties": false,
      +      "description": "Highest observation, using the earliest timestamp on ties.",
      +      "properties": {
      +        "time": {
      +          "description": "Timestamp as returned in the observation series.",
      +          "type": "string"
      +        },
      +        "value": {
      +          "description": "Observed height in the requested units and datum.",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "time",
      +        "value"
      +      ],
      +      "type": "object"
      +    },
      +    "min": {
      +      "additionalProperties": false,
      +      "description": "Lowest observation, using the earliest timestamp on ties.",
      +      "properties": {
      +        "time": {
      +          "description": "Timestamp as returned in the observation series.",
      +          "type": "string"
      +        },
      +        "value": {
      +          "description": "Observed height in the requested units and datum.",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "time",
      +        "value"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "max",
      +    "min"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / residual_summary / properties / max_drawdown_at
      Added value: +{
      +  "description": "Earliest observation timestamp at the largest unrounded drawdown. Absent when no residual is negative.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / residual_summary / properties / max_surge_at
      Added value: +{
      +  "description": "Earliest observation timestamp at the largest unrounded positive residual. Absent when no residual is positive.",
      +  "type": "string"
      +}
  2. Changed15 schema fields changed
    • changedInput schema / properties / datum / description
      Previous value: -"Datum the observed heights are referenced to. MLLW (default) is the US nautical chart datum, and MHHW (mean higher high water) is the flooding reference; MHW, MTL, MSL, and MLW are the other tidal planes. NAVD is NAVD88 and reads only where the station has an NAVD88 tie. STND is the station's own datum and is the plane that works where no tidal datum exists. IGLD and LWD apply at Great Lakes stations only, CRD at Columbia River stations only, and LWI and HWI are lunitidal intervals rather than heights. A datum this station does not carry comes back as datum_unavailable naming the ones it does."New value: +"Datum the observed heights are referenced to. MLLW (default) is the US nautical chart datum, and MHHW (mean higher high water) is the flooding reference; MHW, MTL, MSL, and MLW are the other tidal planes. NAVD is NAVD88 and reads only where the station has an NAVD88 tie. STND is the station's own datum and is the plane that works where no tidal datum exists. IGLD and LWD apply at Great Lakes stations only, CRD at Columbia River stations only, and LWI and HWI are lunitidal intervals rather than heights. A datum this station does not carry comes back as datum_unavailable, whose hint names a datum to retry with, and a station with no water-level gauge at all as no_gauge."
    • addedInput schema / properties / limit / default
      Added value: +50
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum observation rows to return on this page, for a caller that wants fewer than the response budget allows. Omit for the largest page that fits; a value larger than the budget allows does not widen the page."New value: +"Observation rows to return on this page; predictions cover the same time span. Default 50; a larger value returns at most 1,000 and says so."
    • removedInput schema / properties / limit / maximum
      Removed value: -9007199254740991
    • addedInput schema / properties / limit / multipleOf
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"integer"New value: +"number"
    • changedInput schema / properties / offset / description
      Previous value: -"Row offset into the matched observation series, for reading a range whose rows do not fit one response. 0 (default) starts at the first row; pass the next_offset from a previous call to continue. An offset past the last row returns an empty page rather than an error."New value: +"Row offset into the matched observation series, for reading a range longer than one page. 0 (default) starts at the first row; pass the next_offset from a previous call to continue. An offset past the last row returns an empty page rather than an error."
    • removedInput schema / properties / offset / maximum
      Removed value: -9007199254740991
    • addedInput schema / properties / offset / multipleOf
      Added value: +1
    • changedInput schema / properties / offset / type
      Previous value: -"integer"New value: +"number"
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `station_not_found`: CO-OPS returned an error for the station ID. `invalid_date_range`: begin_date or end_date is not a real calendar date, or the range starts after it ends. `date_range_exceeded`: Requested date range exceeds the selected interval's CO-OPS limit — 31 days for 6min, 365 for hourly and high_low, 3655 for daily_mean. `no_data`: Station exists but no observed water-level data for the date range — including an hourly, high_low, or daily_mean window ending before the prior month, which is not a verification lag. `great_lakes_only`: interval=\"daily_mean\" was requested for a coastal station — CO-OPS publishes water-level daily means at Great Lakes stations only. `verified_data_lag`: The hourly, high_low, or daily_mean product returned no rows for a window ending on or after the first day of the prior month, which CO-OPS may not have verified yet. `datum_unavailable`: The station does not carry the requested datum — a Great Lakes station has no tidal datum, and NAVD reads only where the station has an NAVD88 tie. `upstream_throttled`: CO-OPS answered the observed-series request with HTTP 403, which it returns for about two minutes while it throttles a burst of requests from one address. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `station_not_found`: CO-OPS returned an error for the station ID. `invalid_date_range`: begin_date or end_date is not a real calendar date, or the range starts after it ends. `date_range_exceeded`: Requested date range exceeds the selected interval's CO-OPS limit — 31 days for 6min, 365 for hourly and high_low, 3655 for daily_mean. `no_data`: Station exists but no observed water-level data for the date range — including an hourly, high_low, or daily_mean window ending before the prior month, which is not a verification lag. `future_window`: begin_date is after the station's current date in the zone CO-OPS reads the dates in — the UTC date under time_zone gmt, the station's local date under lst and lst_ldt and on interval daily_mean — so no observation in the window exists yet. `no_gauge`: CO-OPS rejected the datum at a station that is in neither its active nor its historic water-level station list, so the station has never had a water-level gauge and holds no observed water levels at any datum. `great_lakes_only`: interval=\"daily_mean\" was requested for a coastal station — CO-OPS publishes water-level daily means at Great Lakes stations only. `verified_data_lag`: The hourly, high_low, or daily_mean product returned no rows for a window ending on or after the first day of the prior month, which CO-OPS may not have verified yet. `datum_unavailable`: The station does not carry the requested datum — a Great Lakes station has no tidal datum, and NAVD reads only where the station has an NAVD88 tie. `upstream_throttled`: CO-OPS answered the observed-series request with HTTP 403, which it returns for about two minutes while it throttles a burst of requests from one address. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "station_not_found",
      -  "invalid_date_range",
      -  "date_range_exceeded",
      -  "no_data",
      -  "great_lakes_only",
      -  "verified_data_lag",
      -  "datum_unavailable",
      -  "upstream_throttled"
      -]New value: +[
      +  "station_not_found",
      +  "invalid_date_range",
      +  "date_range_exceeded",
      +  "no_data",
      +  "future_window",
      +  "no_gauge",
      +  "great_lakes_only",
      +  "verified_data_lag",
      +  "datum_unavailable",
      +  "upstream_throttled"
      +]
    • changedOutput schema / properties / notice / description
      Previous value: -"Why the paired prediction series is missing or carries no residual, how many sample slots were dropped, and what this page of the observed series covers — whichever of those apply, composed into one string."New value: +"That limit was clamped to its cap, why the paired prediction series is missing or carries no residual, how many sample slots were dropped, and what this page of the observed series covers — whichever of those apply, composed into one string in that order."
    • changedOutput schema / properties / observations / description
      Previous value: -"Observed water level readings at the requested cadence — the whole matched series when it fits one response, otherwise the leading page starting at offset. rows_matched and next_offset report what a page left behind."New value: +"Observed water level readings at the requested cadence — the whole matched series when it holds at most limit rows, otherwise the page of up to limit rows starting at offset. rows_matched and next_offset report what a page left behind."
    • changedOutput schema / properties / predictions / description
      Previous value: -"Paired tide predictions covering the same period as the returned observations, at the interval matching the observed cadence. Always empty on the daily_mean interval, which has no paired series. Otherwise empty when CO-OPS returned no predictions for this station and range, or when the prediction fetch failed — predictions_status says which."New value: +"Paired tide predictions covering the same period as the returned observations, at the interval matching the observed cadence. Every prediction in the page span is included and none repeats across pages, so a page whose span crosses a sensor outage carries more predictions than observations. Always empty on the daily_mean interval, which has no paired series. Otherwise empty when CO-OPS returned no predictions for this station and range, or when the prediction fetch failed — predictions_status says which."
  3. Changed1 schema field changed
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `station_not_found`: CO-OPS returned an error for the station ID. `invalid_date_range`: begin_date/end_date is not a real calendar date or begin_date is after end_date. `date_range_exceeded`: Requested date range exceeds the selected interval's CO-OPS limit — 31 days for 6min, 365 for hourly and high_low, 3655 for daily_mean. `no_data`: Station exists but no observed water-level data for the date range — including an hourly, high_low, or daily_mean window ending before the prior month, which is not a verification lag. `great_lakes_only`: interval=\"daily_mean\" was requested for a coastal station — CO-OPS publishes water-level daily means at Great Lakes stations only. `verified_data_lag`: The hourly, high_low, or daily_mean product returned no rows for a window ending on or after the first day of the prior month, which CO-OPS may not have verified yet. `datum_unavailable`: The station does not carry the requested datum — a Great Lakes station has no tidal datum, and NAVD reads only where the station has an NAVD88 tie. `upstream_throttled`: CO-OPS answered the observed-series request with HTTP 403, which it returns for about two minutes while it throttles a burst of requests from one address. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `station_not_found`: CO-OPS returned an error for the station ID. `invalid_date_range`: begin_date or end_date is not a real calendar date, or the range starts after it ends. `date_range_exceeded`: Requested date range exceeds the selected interval's CO-OPS limit — 31 days for 6min, 365 for hourly and high_low, 3655 for daily_mean. `no_data`: Station exists but no observed water-level data for the date range — including an hourly, high_low, or daily_mean window ending before the prior month, which is not a verification lag. `great_lakes_only`: interval=\"daily_mean\" was requested for a coastal station — CO-OPS publishes water-level daily means at Great Lakes stations only. `verified_data_lag`: The hourly, high_low, or daily_mean product returned no rows for a window ending on or after the first day of the prior month, which CO-OPS may not have verified yet. `datum_unavailable`: The station does not carry the requested datum — a Great Lakes station has no tidal datum, and NAVD reads only where the station has an NAVD88 tie. `upstream_throttled`: CO-OPS answered the observed-series request with HTTP 403, which it returns for about two minutes while it throttles a burst of requests from one address. Other values are possible when a failure originates below the handler."
  4. Changed1 schema field changed
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `station_not_found`: CO-OPS returned an error for the station ID. `invalid_date_range`: begin_date/end_date is not a real calendar date or begin_date is after end_date. `date_range_exceeded`: Requested date range exceeds the selected interval's CO-OPS limit — 31 days for 6min, 365 for hourly and high_low, 3655 for daily_mean. `no_data`: Station exists but no observed water-level data for the date range. `great_lakes_only`: interval=\"daily_mean\" was requested for a coastal station — CO-OPS publishes water-level daily means at Great Lakes stations only. `verified_data_lag`: The hourly, high_low, or daily_mean product returned no rows for the window, which CO-OPS has not published yet. `datum_unavailable`: The station does not carry the requested datum — a Great Lakes station has no tidal datum, and NAVD reads only where the station has an NAVD88 tie. `upstream_throttled`: CO-OPS answered the observed-series request with HTTP 403, which it returns for about two minutes while it throttles a burst of requests from one address. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `station_not_found`: CO-OPS returned an error for the station ID. `invalid_date_range`: begin_date/end_date is not a real calendar date or begin_date is after end_date. `date_range_exceeded`: Requested date range exceeds the selected interval's CO-OPS limit — 31 days for 6min, 365 for hourly and high_low, 3655 for daily_mean. `no_data`: Station exists but no observed water-level data for the date range — including an hourly, high_low, or daily_mean window ending before the prior month, which is not a verification lag. `great_lakes_only`: interval=\"daily_mean\" was requested for a coastal station — CO-OPS publishes water-level daily means at Great Lakes stations only. `verified_data_lag`: The hourly, high_low, or daily_mean product returned no rows for a window ending on or after the first day of the prior month, which CO-OPS may not have verified yet. `datum_unavailable`: The station does not carry the requested datum — a Great Lakes station has no tidal datum, and NAVD reads only where the station has an NAVD88 tie. `upstream_throttled`: CO-OPS answered the observed-series request with HTTP 403, which it returns for about two minutes while it throttles a burst of requests from one address. Other values are possible when a failure originates below the handler."
  5. Changed8 schema fields changed
    • changedInput schema / properties / begin_date / description
      Previous value: -"Start date in YYYYMMDD format, e.g. \"20240601\"."New value: +"Start date, YYYYMMDD or YYYY-MM-DD, e.g. \"20240601\" or \"2024-06-01\"."
    • changedInput schema / properties / begin_date / pattern
      Previous value: -"^\\d{8}$"New value: +"^(\\d{8}|\\d{4}-\\d{2}-\\d{2})$"
    • changedInput schema / properties / end_date / description
      Previous value: -"End date in YYYYMMDD format (inclusive), e.g. \"20240601\"."New value: +"End date (inclusive), YYYYMMDD or YYYY-MM-DD, e.g. \"20240601\" or \"2024-06-01\"."
    • changedInput schema / properties / end_date / pattern
      Previous value: -"^\\d{8}$"New value: +"^(\\d{8}|\\d{4}-\\d{2}-\\d{2})$"
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `station_not_found`: CO-OPS returned an error for the station ID. `invalid_date_range`: begin_date/end_date is not a real calendar date or begin_date is after end_date `date_range_exceeded`: Requested date range exceeds the selected interval's CO-OPS limit — 31 days for 6min, 365 for hourly and high_low, 3655 for daily_mean. `no_data`: Station exists but no observed water-level data for the date range. `great_lakes_only`: interval=\"daily_mean\" was requested for a coastal station — CO-OPS publishes water-level daily means at Great Lakes stations only. `verified_data_lag`: The hourly, high_low, or daily_mean product returned no rows for the window, which CO-OPS has not published yet. `datum_unavailable`: The station does not carry the requested datum — a Great Lakes station has no tidal datum, and NAVD reads only where the station has an NAVD88 tie. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `station_not_found`: CO-OPS returned an error for the station ID. `invalid_date_range`: begin_date/end_date is not a real calendar date or begin_date is after end_date. `date_range_exceeded`: Requested date range exceeds the selected interval's CO-OPS limit — 31 days for 6min, 365 for hourly and high_low, 3655 for daily_mean. `no_data`: Station exists but no observed water-level data for the date range. `great_lakes_only`: interval=\"daily_mean\" was requested for a coastal station — CO-OPS publishes water-level daily means at Great Lakes stations only. `verified_data_lag`: The hourly, high_low, or daily_mean product returned no rows for the window, which CO-OPS has not published yet. `datum_unavailable`: The station does not carry the requested datum — a Great Lakes station has no tidal datum, and NAVD reads only where the station has an NAVD88 tie. `upstream_throttled`: CO-OPS answered the observed-series request with HTTP 403, which it returns for about two minutes while it throttles a burst of requests from one address. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "station_not_found",
      -  "invalid_date_range",
      -  "date_range_exceeded",
      -  "no_data",
      -  "great_lakes_only",
      -  "verified_data_lag",
      -  "datum_unavailable"
      -]New value: +[
      +  "station_not_found",
      +  "invalid_date_range",
      +  "date_range_exceeded",
      +  "no_data",
      +  "great_lakes_only",
      +  "verified_data_lag",
      +  "datum_unavailable",
      +  "upstream_throttled"
      +]
    • changedOutput schema / properties / residual_summary / properties / max_drawdown / description
      Previous value: -"Maximum negative residual magnitude in the requested units (feet for english, meters for metric) — anomalous drawdown indicator."New value: +"Maximum negative residual magnitude in the requested units (feet for english, meters for metric) — anomalous drawdown indicator. 0 when the observed level never fell below prediction in the range."
    • changedOutput schema / properties / residual_summary / properties / max_surge / description
      Previous value: -"Maximum positive residual (observed − predicted) in the requested units (feet for english, meters for metric) — storm surge indicator."New value: +"Maximum positive residual (observed − predicted) in the requested units (feet for english, meters for metric) — storm surge indicator. 0 when the observed level never rose above prediction in the range."
  6. Changed28 schema fields changed
    • changedInput schema / properties / datum / description
      Previous value: -"Tidal datum reference plane. MLLW (default) is the US nautical chart datum. MSL = mean sea level; MHHW = mean higher high water (flooding reference)."New value: +"Datum the observed heights are referenced to. MLLW (default) is the US nautical chart datum, and MHHW (mean higher high water) is the flooding reference; MHW, MTL, MSL, and MLW are the other tidal planes. NAVD is NAVD88 and reads only where the station has an NAVD88 tie. STND is the station's own datum and is the plane that works where no tidal datum exists. IGLD and LWD apply at Great Lakes stations only, CRD at Columbia River stations only, and LWI and HWI are lunitidal intervals rather than heights. A datum this station does not carry comes back as datum_unavailable naming the ones it does."
    • changedInput schema / properties / datum / enum
      Previous value: -[
      -  "MLLW",
      -  "MHHW",
      -  "MSL",
      -  "MTL",
      -  "MHW",
      -  "MLW",
      -  "CD",
      -  "STND"
      -]New value: +[
      +  "MLLW",
      +  "MHHW",
      +  "MHW",
      +  "MTL",
      +  "MSL",
      +  "MLW",
      +  "NAVD",
      +  "STND",
      +  "IGLD",
      +  "LWD",
      +  "CRD",
      +  "LWI",
      +  "HWI"
      +]
    • addedInput schema / properties / interval
      Added value: +{
      +  "default": "6min",
      +  "description": "Observed cadence. 6min (default) is the full curve, 31 days per request, the only one carrying a quality flag. hourly is hourly heights, 365 days per request, and reports a residual against the hourly prediction series. high_low is the observed high and low waters with their H/HH/L/LL classification, 365 days per request, and reports no residual because observed extremes do not fall on predicted extreme times. daily_mean is the daily mean water level, 3655 days per request, published at Great Lakes stations only and with no paired prediction series; a coastal station comes back as great_lakes_only.",
      +  "enum": [
      +    "6min",
      +    "hourly",
      +    "high_low",
      +    "daily_mean"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Maximum observation rows to return on this page, for a caller that wants fewer than the response budget allows. Omit for the largest page that fits; a value larger than the budget allows does not widen the page.",
      +  "maximum": 9007199254740991,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Row offset into the matched observation series, for reading a range whose rows do not fit one response. 0 (default) starts at the first row; pass the next_offset from a previous call to continue. An offset past the last row returns an empty page rather than an error.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedInput schema / properties / time_zone / description
      Previous value: -"Time zone for returned timestamps. lst_ldt = local standard/daylight time (default); gmt = UTC; lst = local standard time year-round."New value: +"Time zone for returned timestamps. lst_ldt = local standard/daylight time (default); gmt = UTC; lst = local standard time year-round. Overridden to lst on interval=\"daily_mean\", which CO-OPS serves in local standard time only and otherwise stamps every row a day off."
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "not": {
      -      "required": [
      -        "error"
      -      ]
      -    },
      -    "required": [
      -      "station_id",
      -      "station_name",
      -      "datum",
      -      "units",
      -      "observations",
      -      "predictions"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "error"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "station_id",
      +      "station_name",
      +      "datum",
      +      "units",
      +      "interval",
      +      "observations",
      +      "predictions"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `station_not_found`: CO-OPS returned an error for the station ID. `invalid_date_range`: begin_date/end_date is not a real calendar date or begin_date is after end_date `date_range_exceeded`: Requested date range exceeds the 31-day CO-OPS limit for 6-minute water level data. `no_data`: Station exists but no observed water-level data for the date range. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `station_not_found`: CO-OPS returned an error for the station ID. `invalid_date_range`: begin_date/end_date is not a real calendar date or begin_date is after end_date `date_range_exceeded`: Requested date range exceeds the selected interval's CO-OPS limit — 31 days for 6min, 365 for hourly and high_low, 3655 for daily_mean. `no_data`: Station exists but no observed water-level data for the date range. `great_lakes_only`: interval=\"daily_mean\" was requested for a coastal station — CO-OPS publishes water-level daily means at Great Lakes stations only. `verified_data_lag`: The hourly, high_low, or daily_mean product returned no rows for the window, which CO-OPS has not published yet. `datum_unavailable`: The station does not carry the requested datum — a Great Lakes station has no tidal datum, and NAVD reads only where the station has an NAVD88 tie. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "station_not_found",
      -  "invalid_date_range",
      -  "date_range_exceeded",
      -  "no_data"
      -]New value: +[
      +  "station_not_found",
      +  "invalid_date_range",
      +  "date_range_exceeded",
      +  "no_data",
      +  "great_lakes_only",
      +  "verified_data_lag",
      +  "datum_unavailable"
      +]
    • addedOutput schema / properties / gaps_dropped
      Added value: +{
      +  "description": "Number of sample slots CO-OPS sent with no reading, dropped from observations. Present only when there was at least one. The observed series is therefore not continuous across the requested range: it has this many missing slots, and rows_matched counts only the slots that carry a value.",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / interval
      Added value: +{
      +  "description": "Observed cadence echoed from the request — the CO-OPS product these rows came from, and what decides whether quality, type, and residual_summary are populated.",
      +  "enum": [
      +    "6min",
      +    "hourly",
      +    "high_low",
      +    "daily_mean"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / next_offset
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Offset to pass as offset on the next call, or null when this page reaches the last matched observation. Absent when the whole matched series was returned."
      +}
    • changedOutput schema / properties / notice / description
      Previous value: -"Why the paired prediction series is missing, when it is missing."New value: +"Why the paired prediction series is missing or carries no residual, how many sample slots were dropped, and what this page of the observed series covers — whichever of those apply, composed into one string."
    • changedOutput schema / properties / observations / description
      Previous value: -"6-minute observed water level readings."New value: +"Observed water level readings at the requested cadence — the whole matched series when it fits one response, otherwise the leading page starting at offset. rows_matched and next_offset report what a page left behind."
    • changedOutput schema / properties / observations / items / description
      Previous value: -"A single 6-minute observed water level reading."New value: +"A single observed water level reading at the requested cadence."
    • changedOutput schema / properties / observations / items / properties / quality / description
      Previous value: -"Quality flag: p = preliminary, v = verified."New value: +"Quality flag: p = preliminary, v = verified. Present on the 6min interval only — CO-OPS sends no flag with the hourly, high_low, or daily_mean products, which are verified data, so the field is absent rather than defaulted to preliminary."
    • changedOutput schema / properties / observations / items / properties / sigma / description
      Previous value: -"Standard deviation of the water level sensor reading."New value: +"Standard deviation of the water level sensor reading. Present on the 6min and hourly intervals; CO-OPS sends none for high_low or daily_mean."
    • addedOutput schema / properties / observations / items / properties / type
      Added value: +{
      +  "description": "Observed extreme classification on the high_low interval: H = high water, HH = higher high water, L = low water, LL = lower low water. Absent on every other interval.",
      +  "enum": [
      +    "H",
      +    "HH",
      +    "L",
      +    "LL"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / observations / items / required
      Previous value: -[
      -  "time",
      -  "value",
      -  "quality"
      -]New value: +[
      +  "time",
      +  "value"
      +]
    • addedOutput schema / properties / page_offset
      Added value: +{
      +  "description": "Observation row offset this page starts at, echoed from the request. Absent when the whole matched series was returned.",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / predictions / description
      Previous value: -"Paired 6-minute tide predictions for the same period. Empty when CO-OPS returned no predictions for this station and range, or when the prediction fetch failed — predictions_status says which."New value: +"Paired tide predictions covering the same period as the returned observations, at the interval matching the observed cadence. Always empty on the daily_mean interval, which has no paired series. Otherwise empty when CO-OPS returned no predictions for this station and range, or when the prediction fetch failed — predictions_status says which."
    • changedOutput schema / properties / predictions / items / description
      Previous value: -"A single 6-minute tide prediction."New value: +"A single tide prediction."
    • changedOutput schema / properties / predictions / items / properties / time / description
      Previous value: -"Prediction datetime matching the observation time step."New value: +"Prediction datetime in the requested time zone."
    • changedOutput schema / properties / predictions_status / description
      Previous value: -"Present only when predictions is empty. \"empty\" means CO-OPS returned no prediction rows for this station and date range; \"unavailable\" means the prediction fetch failed, so no comparison series could be retrieved and the absence says nothing about the station. Absent when predictions were returned."New value: +"Present only when predictions is empty on an interval that has a paired series. \"empty\" means CO-OPS returned no prediction rows for this station and date range; \"unavailable\" means the prediction fetch failed, so no comparison series could be retrieved and the absence says nothing about the station. Absent when predictions were returned, and on the daily_mean interval, which has no paired series to report on."
    • changedOutput schema / properties / residual_summary / description
      Previous value: -"Summary of observed-minus-predicted residuals in the requested units. Only present when both observations and predictions are available."New value: +"Summary of observed-minus-predicted residuals in the requested units, computed across the whole matched series rather than the returned page — so a paged response still reports the largest surge in the range. Present only on the 6min and hourly intervals, and only when both series are available; the notice says why it is absent on high_low and daily_mean."
    • addedOutput schema / properties / rows_matched
      Added value: +{
      +  "description": "Observation rows the requested date range matched, before the page was cut. Absent when the whole matched series was returned.",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / rows_returned
      Added value: +{
      +  "description": "Observation rows this page carries — the length of observations. Absent when the whole matched series was returned.",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when this page stops short of the last matched observation, so further rows remain at next_offset. False on the final page and on a page past the end. Absent when the whole matched series was returned.",
      +  "type": "boolean"
      +}
  7. Changed3 schema fields changed
    • addedOutput schema / properties / notice
      Added value: +{
      +  "description": "Why the paired prediction series is missing, when it is missing.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / predictions / description
      Previous value: -"Paired 6-minute tide predictions for the same period. May be empty if CO-OPS predictions are unavailable for this station."New value: +"Paired 6-minute tide predictions for the same period. Empty when CO-OPS returned no predictions for this station and range, or when the prediction fetch failed — predictions_status says which."
    • addedOutput schema / properties / predictions_status
      Added value: +{
      +  "description": "Present only when predictions is empty. \"empty\" means CO-OPS returned no prediction rows for this station and date range; \"unavailable\" means the prediction fetch failed, so no comparison series could be retrieved and the absence says nothing about the station. Absent when predictions were returned.",
      +  "enum": [
      +    "empty",
      +    "unavailable"
      +  ],
      +  "type": "string"
      +}
  8. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "station_id",
      +      "station_name",
      +      "datum",
      +      "units",
      +      "observations",
      +      "predictions"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode. Declared by this tool: `station_not_found`: CO-OPS returned an error for the station ID. `invalid_date_range`: begin_date/end_date is not a real calendar date or begin_date is after end_date `date_range_exceeded`: Requested date range exceeds the 31-day CO-OPS limit for 6-minute water level data. `no_data`: Station exists but no observed water-level data for the date range. Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "station_not_found",
      +            "invalid_date_range",
      +            "date_range_exceeded",
      +            "no_data"
      +          ],
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "station_id",
      -  "station_name",
      -  "datum",
      -  "units",
      -  "observations",
      -  "predictions"
      -]
  9. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/openWorld annotations: per-interval range ceilings rejected locally before the call, which intervals carry a residual, that observed and prediction fetches are independent so observed data returns even when predictions fail, how sensor outages surface as gaps_dropped, and the named failure modes (datum_unavailable, great_lakes_only, no_gauge). This is exactly the operational context an agent needs before committing a large range request.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and interval selection are appropriately front-loaded, but the body is a wall of very long compound sentences that restate schema-documented facts (ceiling numbers, datum behavior, next_offset mechanics). Splitting cadence rules, residual rules, and pagination into separate short units would preserve the content with less parsing cost.

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?

For a 9-parameter, multi-enum tool with an output schema, the description covers the things schema cannot: cadence-to-range ceilings, residual availability, prediction-failure semantics, gap handling, and pagination continuation. An agent can construct a correct call and interpret a partial or failed response without further inference.

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% and the enum descriptions already enumerate datums, intervals, range ceilings, and the daily_mean time_zone override, so the description mostly restates that material. The only modest addition is the rationale for choosing a coarser cadence ('far fewer rows'), which the schema does not frame as a tradeoff.

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?

Opens with a specific verb+resource and scope: observed water level, real-time or historical, for a CO-OPS water-level station, plus the distinguishing feature that it pairs observations with tide predictions to derive a residual. That pairing statement implicitly separates it from the sibling that returns predictions alone, and it names noaa_marine_find_stations as the ID resolver.

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

Usage Guidelines4/5

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

Gives concrete selection guidance for the interval parameter (6min = full curve, hourly/high_low = months to a year at fewer rows, daily_mean = Great Lakes only) and instructs the agent to resolve station IDs via noaa_marine_find_stations first. It stops short of naming when to prefer the dedicated tide-prediction sibling instead, so the alternative-routing is only implied.

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.