Skip to main content
Glama

usgs-water-mcp-server

Water Get Site Data Catalog

water_get_site_data_catalog
Read-onlyIdempotent

Discover a USGS site’s parameters, sensors, statistics, and UTC record bounds before calling water_get_series. Find site numbers with water_find_sites. Each row is a distinct series; metadata bounds may contain gaps and lag observations. For water_get_series, take YYYY-MM-DD from beginDate/endDate, pass the row’s seriesType, pass statCd only for daily rows, and pass a row’s timeSeriesId as methodId to request that exact series (water_get_readings and water_get_series report the same ID as methodId). Field-measurement series (hand-measured values, such as the levels of a well with no continuous sensor) list as seriesType "field" and annual-peak series as "peak". Rows with null seriesType are other computations, such as a water-year mean or maximum, and cannot be requested with water_get_series. Follow nextCursor with the same filters and limit until null.

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": {
      "site": "<site>"
    },
    "name": "water_get_site_data_catalog"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesUSGS site number (8–15 digits), from water_find_sites; e.g. "01646500".
limitNoMaximum metadata rows per page (1–1000; default 100). Keep unchanged when using cursor.
cursorNoOpaque nextCursor from the previous page; keep site, parameterCd, seriesType, and limit unchanged.
seriesTypeNoLimit to one series type: Daily computations, Points/Instantaneous computations, field-measurement series, or annual-peak series (computation Max At Event Time). Omit to include every series.
parameterCdNoOptional 5-digit parameter code from water_list_parameters, e.g. "00060".

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
seriesNoOne metadata page; distinct sensors/statistics remain separate. Empty when a known site has no matching rows.
siteNameNoUpstream site name, or null when unavailable.
nextCursorNoContinuation for the same filters and limit, or null when no next page exists.
siteNumberNoUSGS site number, preserving leading zeros.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / properties / seriesType / description
      Previous value: -"Limit to Daily computations or Points/Instantaneous computations. Omit to include all periods."New value: +"Limit to one series type: Daily computations, Points/Instantaneous computations, field-measurement series, or annual-peak series (computation Max At Event Time). Omit to include every series."
    • changedInput schema / properties / seriesType / enum
      Previous value: -[
      -  "daily",
      -  "instantaneous"
      -]New value: +[
      +  "daily",
      +  "instantaneous",
      +  "field",
      +  "peak"
      +]
    • changedOutput schema / properties / series / items / properties / computation / description
      Previous value: -"Raw upstream computation (e.g. Mean, Instantaneous), or null."New value: +"Raw upstream computation (e.g. Mean, Instantaneous, Max At Event Time), or null; null on a field row."
    • changedOutput schema / properties / series / items / properties / computationPeriod / description
      Previous value: -"Raw upstream computation period (e.g. Daily, Points, Water Year), or null."New value: +"Raw upstream computation period (e.g. Daily, Points, Water Year), or null; null on a field row."
    • addedOutput schema / properties / series / items / properties / readingType
      Added value: +{
      +  "description": "Field rows only: the upstream reading type, one field series per type (e.g. ReferencePrimary for staff-gage readings, MeanGageHeight for the mean gage height of each discharge measurement, Discharge); null on every other row.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / series / items / properties / seriesType / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "daily",
      -      "instantaneous"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "daily",
      +      "instantaneous",
      +      "field",
      +      "peak"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / series / items / properties / seriesType / description
      Previous value: -"daily for Daily; instantaneous for Points with Instantaneous; null otherwise."New value: +"daily for Daily; instantaneous for Points with Instantaneous; field for a field-measurement series; peak for the Max At Event Time computation (annual peaks); null otherwise. Pass it as the water_get_series seriesType."
    • changedOutput schema / properties / series / items / properties / timeSeriesId / description
      Previous value: -"Distinct OGC time-series identifier; pass it as the water_get_series methodId, with this row’s seriesType."New value: +"Distinct series identifier — the OGC time-series ID (32 hexadecimal characters), or on a field row its field-measurement series ID (a hyphenated UUID); pass it as the water_get_series methodId, with this row’s seriesType."
    • changedOutput schema / properties / series / items / properties / unit / description
      Previous value: -"Upstream unit of measure, or null."New value: +"Upstream unit of measure, or null; always null on a field row, whose metadata states none."
    • changedOutput schema / properties / series / items / required
      Previous value: -[
      -  "timeSeriesId",
      -  "parameterCd",
      -  "parameterName",
      -  "unit",
      -  "statCd",
      -  "beginDate",
      -  "endDate",
      -  "sublocation",
      -  "webDescription",
      -  "computationPeriod",
      -  "computation",
      -  "seriesType"
      -]New value: +[
      +  "timeSeriesId",
      +  "parameterCd",
      +  "parameterName",
      +  "unit",
      +  "statCd",
      +  "beginDate",
      +  "endDate",
      +  "sublocation",
      +  "webDescription",
      +  "computationPeriod",
      +  "computation",
      +  "readingType",
      +  "seriesType"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / properties / series / items / properties / timeSeriesId / description
      Previous value: -"Distinct OGC time-series identifier; not an NWIS methodId."New value: +"Distinct OGC time-series identifier; pass it as the water_get_series methodId, with this row’s seriesType."
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare read-only, open-world, idempotent, but the description adds substantive behavior: each row is a distinct series, record bounds may contain gaps and lag observations, field and peak series are identified by specific seriesType values, and rows with null seriesType are unusable downstream. It also explains pagination semantics ('Follow nextCursor with the same filters and limit until null').

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?

The purpose is front-loaded and every sentence carries operational information with no filler. It is dense to the point of packing downstream-call instructions into a single paragraph, which costs a little readability but nothing is redundant.

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 paginated, read-only catalog tool with a full schema and an output schema, the description covers everything an agent needs: how to get a site number, what a row represents, how to page, and how to translate a row into a valid water_get_series call. Return-value detail is correctly delegated to the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description does add meaning: it explains what 'field' and 'peak' mean in practice (hand-measured values, annual-peak computations) and how to thread seriesType and the cursor into the next call. However, it references beginDate/endDate, which are not parameters of this tool, which slightly muddies which fields belong to which call.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Discover a USGS site's parameters, sensors, statistics, and UTC record bounds.' It also positions the tool relative to siblings by naming water_get_series as the follow-up and water_find_sites as the way to obtain site numbers, so an agent can distinguish it from the retrieval tools without inspecting schemas.

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?

It gives explicit sequencing ('before calling water_get_series'), an alternative for a different need ('Find site numbers with water_find_sites'), and precise routing rules for which row fields to pass downstream and which rows (null seriesType) cannot be requested at all. This is when-to-use, when-not-to-use, and alternatives in one compact block.

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.