Skip to main content
Glama

Get Tidal Currents

noaa_marine_get_currents
Read-onlyIdempotent

Tidal current predictions for a CO-OPS current station: max flood and ebb speeds, slack times, and mean flood and ebb bearings. For observed NDBC ocean-current measurements by depth, use noaa_marine_get_current_profile. MAX_SLACK (default, up to 365 days) returns peak and slack events for passage planning. 6min (up to 31 days) returns a continuous curve for a harmonic bin. A subordinate bin returns max/slack events with a notice and empty predictions. Select a depth bin from bins[] on a noaa_marine_find_stations current row, or let CO-OPS choose its default. The response echoes the answered bin and depth. When CO-OPS returns a statement about weak and variable currents, the notice carries its wording and the requested series is empty. Both intervals page the returned series by row count from offset, up to limit. A partial page reports rows_matched, rows_returned, and next_offset. Use noaa_marine_find_stations with types=["current"] for alphanumeric current station IDs such as ACT4176.

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_currents"
  }
}

Input Schema

NameRequiredDescriptionDefault
binNoDepth bin to predict for, taken from the bins[] array on a noaa_marine_find_stations current row (e.g. 15, 10 or 1 at PUG1515). Omit to let CO-OPS choose its default. A bin the station does not publish comes back as bin_unavailable naming the bins it does.
limitNoRows to return on this page from the series CO-OPS returned, either max/slack events or 6-minute rows. Default 50; a larger value returns at most 1,000 and says so.
unitsNoUnit system: english = knots for speed and feet for the echoed depth; metric = cm/s for speed (not m/s) and meters for the echoed depth.english
offsetNoRow offset into the returned series, whether max/slack events or a 6-minute curve. 0 (default) starts at the first row; pass next_offset from a previous call to continue. An offset past the last row returns an empty page.
end_dateYesEnd date (inclusive), YYYYMMDD or YYYY-MM-DD, e.g. "20240607" or "2024-06-07".
intervalNoMAX_SLACK (default, up to 365 days) returns max flood, max ebb, and slack events. 6min (up to 31 days) returns a continuous curve for harmonic bins and max/slack events for subordinate bins.MAX_SLACK
time_zoneNoTime zone for returned timestamps. lst_ldt = local standard/daylight time (default); gmt = UTC; lst = local standard time year-round.lst_ldt
begin_dateYesStart date, YYYYMMDD or YYYY-MM-DD, e.g. "20240601" or "2024-06-01".
station_idYesCO-OPS current station ID (alphanumeric, e.g. "ACT4176"). Obtain from noaa_marine_find_stations with types=["current"].

Output Schema

NameRequiredDescriptionDefault
binNoDepth bin CO-OPS answered with — the requested bin or the default it selected. Null when CO-OPS returned no prediction rows.
depthNoDepth of the returned bin, in the requested units: feet under english, meters under metric. Distinct from the bins[].depth on a noaa_marine_find_stations row, which the catalog always publishes in feet. Null when CO-OPS publishes no depth for the bin, or when the response carried no prediction rows.
errorNoPresent when the call failed. Absent on success.
unitsNoUnit system these values are in: "english" (speed in knots, depth in feet) or "metric" (speed in cm/s, depth in meters).
eventsNoMax flood, max ebb, and slack events from offset up to limit. Present for MAX_SLACK and when CO-OPS answers 6min with events. For MAX_SLACK, empty when CO-OPS answered with a statement — read notice for its wording.
noticeNoCO-OPS's statement about the station, an explanation when 6min returns events, or page coverage and how to reach the next page. Opens with the requested and applied values when limit was clamped to its cap.
truncatedNoTrue when this page stops short of the last matched row, 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 row. Absent when the whole matched series was returned.
page_offsetNoRow offset this page starts at, echoed from the request. Absent when the whole matched series was returned.
predictionsNo6-minute continuous current predictions from offset up to limit. Present for 6min, and empty when CO-OPS answered with events or a statement — read notice for details.
rows_matchedNoPrediction 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_returnedNoRows this page carries in the returned events or predictions series. Absent when the whole matched series was returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / properties / bin / description
      Previous value: -"Depth bin to predict for, taken from the bins[] array on a noaa_marine_find_stations current row (e.g. 15, 10 or 1 at PUG1515). Omit to take the CO-OPS default, which is the shallowest bin. A bin the station does not publish comes back as bin_unavailable naming the bins it does."New value: +"Depth bin to predict for, taken from the bins[] array on a noaa_marine_find_stations current row (e.g. 15, 10 or 1 at PUG1515). Omit to let CO-OPS choose its default. A bin the station does not publish comes back as bin_unavailable naming the bins it does."
    • changedInput schema / properties / interval / description
      Previous value: -"Prediction interval: MAX_SLACK (default) returns max flood, max ebb, and slack water events — ideal for passage planning. 6min returns a continuous current curve."New value: +"MAX_SLACK (default, up to 365 days) returns max flood, max ebb, and slack events. 6min (up to 31 days) returns a continuous curve for harmonic bins and max/slack events for subordinate bins."
    • changedInput schema / properties / limit / description
      Previous value: -"Prediction rows to return on this page — max/slack events or 6-minute rows, whichever the interval selects. Default 50; a larger value returns at most 1,000 and says so."New value: +"Rows to return on this page from the series CO-OPS returned, either max/slack events or 6-minute rows. Default 50; a larger value returns at most 1,000 and says so."
    • changedInput schema / properties / offset / description
      Previous value: -"Row offset into the matched prediction series — the max/slack events on the MAX_SLACK interval, the 6-minute curve on 6min — 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."New value: +"Row offset into the returned series, whether max/slack events or a 6-minute curve. 0 (default) starts at the first row; pass next_offset from a previous call to continue. An offset past the last row returns an empty page."
    • changedOutput schema / properties / bin / description
      Previous value: -"Depth bin CO-OPS answered with — the requested bin, or its default shallowest bin when none was requested. Null when the response carried no prediction rows."New value: +"Depth bin CO-OPS answered with — the requested bin or the default it selected. Null when CO-OPS returned no prediction rows."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `station_not_found`: CO-OPS rejected the station ID as unknown or invalid — current stations require alphanumeric IDs. `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 1-year CO-OPS limit. `no_predictions`: Station exists but CO-OPS returned no current-prediction data for the requested date range. `predictions_unavailable`: The station is in the current-predictions catalog, but CO-OPS publishes no current predictions for it at any date. `bin_unavailable`: CO-OPS rejected the requested bin because the station publishes no predictions at that bin. `upstream_throttled`: CO-OPS answered 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 rejected the station ID as unknown or invalid — current stations require alphanumeric IDs. `invalid_date_range`: begin_date or end_date is not a real calendar date, or the range starts after it ends. `date_range_exceeded`: The request exceeds the CO-OPS date span limit for the selected interval. `no_predictions`: Station exists but CO-OPS returned no current-prediction data for the requested date range. `predictions_unavailable`: The station is in the current-predictions catalog, but CO-OPS publishes no current predictions for it at any date. `bin_unavailable`: CO-OPS rejected the requested bin because the station publishes no predictions at that bin. `upstream_throttled`: CO-OPS answered 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 / events / description
      Previous value: -"Max flood, max ebb, and slack events — up to limit events starting at offset, and the whole matched series when it fits one page. Present for MAX_SLACK interval, and empty when CO-OPS answered with a statement instead of events — read notice for its wording."New value: +"Max flood, max ebb, and slack events from offset up to limit. Present for MAX_SLACK and when CO-OPS answers 6min with events. For MAX_SLACK, empty when CO-OPS answered with a statement — read notice for its wording."
    • changedOutput schema / properties / notice / description
      Previous value: -"CO-OPS's own statement about the station when it returned that instead of prediction events — the answer to report, not a failure — or what this page of the prediction series covers and how to reach the next one. Opens with the requested and applied values when limit was clamped to its cap."New value: +"CO-OPS's statement about the station, an explanation when 6min returns events, or page coverage and how to reach the next page. Opens with the requested and applied values when limit was clamped to its cap."
    • changedOutput schema / properties / predictions / description
      Previous value: -"6-minute continuous current predictions — up to limit rows starting at offset, and the whole curve when it fits one page. Present for 6min interval, and empty when CO-OPS answered with a statement instead of a curve — read notice for its wording."New value: +"6-minute continuous current predictions from offset up to limit. Present for 6min, and empty when CO-OPS answered with events or a statement — read notice for details."
    • changedOutput schema / properties / rows_returned / description
      Previous value: -"Prediction rows this page carries — the length of events on the MAX_SLACK interval, of predictions on 6min. Absent when the whole matched series was returned."New value: +"Rows this page carries in the returned events or predictions series. Absent when the whole matched series was returned."
  2. Changed12 schema fields changed
    • addedInput schema / properties / limit / default
      Added value: +50
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum prediction rows to return on this page — max/slack events or 6-minute rows, whichever the interval selects — 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: +"Prediction rows to return on this page — max/slack events or 6-minute rows, whichever the interval selects. 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 prediction series — the max/slack events on the MAX_SLACK interval, the 6-minute curve on 6min — 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 prediction series — the max/slack events on the MAX_SLACK interval, the 6-minute curve on 6min — 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 / events / description
      Previous value: -"Max flood, max ebb, and slack events — the whole matched series when it fits one response, otherwise the leading page starting at offset. Present for MAX_SLACK interval, and empty when CO-OPS answered with a statement instead of events — read notice for its wording."New value: +"Max flood, max ebb, and slack events — up to limit events starting at offset, and the whole matched series when it fits one page. Present for MAX_SLACK interval, and empty when CO-OPS answered with a statement instead of events — read notice for its wording."
    • changedOutput schema / properties / notice / description
      Previous value: -"CO-OPS's own statement about the station when it returned that instead of prediction events — the answer to report, not a failure — or what this page of the prediction series covers and how to reach the next one."New value: +"CO-OPS's own statement about the station when it returned that instead of prediction events — the answer to report, not a failure — or what this page of the prediction series covers and how to reach the next one. Opens with the requested and applied values when limit was clamped to its cap."
    • changedOutput schema / properties / predictions / description
      Previous value: -"6-minute continuous current predictions — the whole curve when it fits one response, otherwise the leading page starting at offset. Present for 6min interval, and empty when CO-OPS answered with a statement instead of a curve — read notice for its wording."New value: +"6-minute continuous current predictions — up to limit rows starting at offset, and the whole curve when it fits one page. Present for 6min interval, and empty when CO-OPS answered with a statement instead of a curve — read notice for its wording."
  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 rejected the station ID as unknown or invalid — current stations require alphanumeric IDs. `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 1-year CO-OPS limit. `no_predictions`: Station exists but CO-OPS returned no current-prediction data for the requested date range. `predictions_unavailable`: The station is in the current-predictions catalog, but CO-OPS publishes no current predictions for it at any date. `bin_unavailable`: CO-OPS rejected the requested bin because the station publishes no predictions at that bin. `upstream_throttled`: CO-OPS answered 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 rejected the station ID as unknown or invalid — current stations require alphanumeric IDs. `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 1-year CO-OPS limit. `no_predictions`: Station exists but CO-OPS returned no current-prediction data for the requested date range. `predictions_unavailable`: The station is in the current-predictions catalog, but CO-OPS publishes no current predictions for it at any date. `bin_unavailable`: CO-OPS rejected the requested bin because the station publishes no predictions at that bin. `upstream_throttled`: CO-OPS answered 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. Changed6 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. \"20240607\"."New value: +"End date (inclusive), YYYYMMDD or YYYY-MM-DD, e.g. \"20240607\" or \"2024-06-07\"."
    • 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 rejected the station ID as unknown or invalid — current stations require alphanumeric IDs. `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 1-year CO-OPS limit. `no_predictions`: Station exists but CO-OPS returned no current-prediction data for the requested date range. `predictions_unavailable`: The station is in the current-predictions catalog, but CO-OPS publishes no current predictions for it at any date. `bin_unavailable`: CO-OPS rejected the requested bin because the station publishes no predictions at that bin. 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 rejected the station ID as unknown or invalid — current stations require alphanumeric IDs. `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 1-year CO-OPS limit. `no_predictions`: Station exists but CO-OPS returned no current-prediction data for the requested date range. `predictions_unavailable`: The station is in the current-predictions catalog, but CO-OPS publishes no current predictions for it at any date. `bin_unavailable`: CO-OPS rejected the requested bin because the station publishes no predictions at that bin. `upstream_throttled`: CO-OPS answered 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_predictions",
      -  "predictions_unavailable",
      -  "bin_unavailable"
      -]New value: +[
      +  "station_not_found",
      +  "invalid_date_range",
      +  "date_range_exceeded",
      +  "no_predictions",
      +  "predictions_unavailable",
      +  "bin_unavailable",
      +  "upstream_throttled"
      +]
  5. Changed24 schema fields changed
    • addedInput schema / properties / bin
      Added value: +{
      +  "description": "Depth bin to predict for, taken from the bins[] array on a noaa_marine_find_stations current row (e.g. 15, 10 or 1 at PUG1515). Omit to take the CO-OPS default, which is the shallowest bin. A bin the station does not publish comes back as bin_unavailable naming the bins it does.",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Maximum prediction rows to return on this page — max/slack events or 6-minute rows, whichever the interval selects — 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 prediction series — the max/slack events on the MAX_SLACK interval, the 6-minute curve on 6min — 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 / units / description
      Previous value: -"Unit system: english = knots; metric = m/s."New value: +"Unit system: english = knots for speed and feet for the echoed depth; metric = cm/s for speed (not m/s) and meters for the echoed depth."
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "not": {
      -      "required": [
      -        "error"
      -      ]
      -    },
      -    "required": [
      -      "station_id",
      -      "station_name",
      -      "units"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "error"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "station_id",
      +      "station_name",
      +      "units",
      +      "bin",
      +      "depth"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / bin
      Added value: +{
      +  "description": "Depth bin CO-OPS answered with — the requested bin, or its default shallowest bin when none was requested. Null when the response carried no prediction rows.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / depth
      Added value: +{
      +  "description": "Depth of the returned bin, in the requested units: feet under english, meters under metric. Distinct from the bins[].depth on a noaa_marine_find_stations row, which the catalog always publishes in feet. Null when CO-OPS publishes no depth for the bin, or when the response carried no prediction rows.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • 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 — current stations require alphanumeric IDs. `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 1-year CO-OPS limit. `no_predictions`: Station exists but CO-OPS returned no current-prediction 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 rejected the station ID as unknown or invalid — current stations require alphanumeric IDs. `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 1-year CO-OPS limit. `no_predictions`: Station exists but CO-OPS returned no current-prediction data for the requested date range. `predictions_unavailable`: The station is in the current-predictions catalog, but CO-OPS publishes no current predictions for it at any date. `bin_unavailable`: CO-OPS rejected the requested bin because the station publishes no predictions at that bin. 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_predictions"
      -]New value: +[
      +  "station_not_found",
      +  "invalid_date_range",
      +  "date_range_exceeded",
      +  "no_predictions",
      +  "predictions_unavailable",
      +  "bin_unavailable"
      +]
    • changedOutput schema / properties / events / description
      Previous value: -"Max flood, max ebb, and slack events. Present for MAX_SLACK interval."New value: +"Max flood, max ebb, and slack events — the whole matched series when it fits one response, otherwise the leading page starting at offset. Present for MAX_SLACK interval, and empty when CO-OPS answered with a statement instead of events — read notice for its wording."
    • changedOutput schema / properties / events / items / properties / direction / description
      Previous value: -"True bearing direction in degrees (0–360). Absent for slack events."New value: +"The station's mean flood direction on a flood event and its mean ebb direction on an ebb event, as a true bearing in degrees (0–360). A station constant, not an instantaneous heading. Absent for slack events and wherever CO-OPS reports no mean direction."
    • changedOutput schema / properties / events / items / properties / speed / description
      Previous value: -"Current speed in the requested units. Absent for slack events."New value: +"Peak speed as a non-negative magnitude, in the requested units. Absent when CO-OPS reports no speed for the event, which is the usual case at slack water — though a slack event can carry a small residual speed under metric units."
    • 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 row. Absent when the whole matched series was returned."
      +}
    • addedOutput schema / properties / notice
      Added value: +{
      +  "description": "CO-OPS's own statement about the station when it returned that instead of prediction events — the answer to report, not a failure — or what this page of the prediction series covers and how to reach the next one.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / page_offset
      Added value: +{
      +  "description": "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: -"6-minute continuous current predictions. Present for 6min interval."New value: +"6-minute continuous current predictions — the whole curve when it fits one response, otherwise the leading page starting at offset. Present for 6min interval, and empty when CO-OPS answered with a statement instead of a curve — read notice for its wording."
    • changedOutput schema / properties / predictions / items / properties / direction / description
      Previous value: -"True bearing direction in degrees (0–360). Null when CO-OPS does not report direction for this station type."New value: +"The station's mean flood direction on a flood row and its mean ebb direction on an ebb row, as a true bearing in degrees (0–360). A station constant, not an instantaneous heading. Null on a slack row and wherever CO-OPS reports no mean direction."
    • changedOutput schema / properties / predictions / items / properties / speed / description
      Previous value: -"Current speed in the requested units."New value: +"Current speed as a non-negative magnitude, in the requested units."
    • addedOutput schema / properties / predictions / items / properties / type
      Added value: +{
      +  "description": "Flow sense at this row, from the sign of the speed CO-OPS predicts: flood (inbound), ebb (outbound), or slack (zero). speed is a non-negative magnitude, so this is what carries which way the water is moving.",
      +  "enum": [
      +    "flood",
      +    "ebb",
      +    "slack"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / predictions / items / required
      Previous value: -[
      -  "time",
      -  "speed",
      -  "direction"
      -]New value: +[
      +  "time",
      +  "type",
      +  "speed",
      +  "direction"
      +]
    • addedOutput schema / properties / rows_matched
      Added value: +{
      +  "description": "Prediction 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": "Prediction rows this page carries — the length of events on the MAX_SLACK interval, of predictions on 6min. 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 row, 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"
      +}
    • changedOutput schema / properties / units / description
      Previous value: -"Speed units: \"english\" (knots) or \"metric\" (m/s)."New value: +"Unit system these values are in: \"english\" (speed in knots, depth in feet) or \"metric\" (speed in cm/s, depth in meters)."
  6. Changed2 schema fields changed
    • removedOutput schema / properties / predictions / items / properties / direction / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / predictions / items / properties / direction / type
      Added value: +[
      +  "number",
      +  "null"
      +]
  7. 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",
      +      "units"
      +    ]
      +  },
      +  {
      +    "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 — current stations require alphanumeric IDs. `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 1-year CO-OPS limit. `no_predictions`: Station exists but CO-OPS returned no current-prediction 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_predictions"
      +          ],
      +          "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",
      -  "units"
      -]
  8. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds genuine behavioral context beyond them: subordinate bins return max/slack events with a notice and empty predictions, weak-and-variable currents yield a notice with an empty series, and both intervals page by row count from offset. It does not repeat return-value details, which is correct given the output schema exists, but the coverage of edge-case behavior is strong even if a few points (e.g. the 1,000-row cap) are echoed from the schema.

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 the purpose, then organized by interval choice, bin selection, edge cases, and pagination. It is dense and mostly waste-free, though a couple of clauses (row-count paging, the 1,000-row cap) duplicate schema content and could be trimmed.

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 nine-parameter tool with three required dates and a published output schema, the description covers the decision points an agent needs: which interval, which bin, how to page, what happens with subordinate bins or weak currents, and where to get station IDs. Nothing material is left to 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%, so the schema already documents all nine parameters, and much of the description's param talk (365/31 day limits, the 1,000-row cap, next_offset) restates schema text. The description adds some meaning — that omitting bin lets CO-OPS choose its default and that bin/depth are echoed — but the baseline of 3 is appropriate when the schema does the heavy lifting.

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?

Names a specific verb and resource (tidal current predictions for a CO-OPS current station) and enumerates the returned quantities: max flood/ebb speeds, slack times, mean flood/ebb bearings. It explicitly distinguishes itself from noaa_marine_get_current_profile, which returns observed NDBC measurements by depth, so an agent can pick the right tool 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 routing: use get_current_profile for observed measurements, MAX_SLACK for passage planning (up to 365 days), 6min for a continuous harmonic curve (up to 31 days), and find_stations with types=["current"] for station IDs. It also states the subordinate-bin case up front, so the agent knows the failure mode before calling.

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.