Skip to main content
Glama

USGS Earthquakes & Water Hazards MCP

Get USGS NWIS streamflow gauge readings

get_streamflow_gauge
Read-onlyIdempotent

Fetch live instantaneous streamflow discharge (00060, ft3/s), gage height (00065, ft), or water temperature (00010, C) from USGS NWIS for one or more site numbers.

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_ids": "<site_ids>"
    },
    "name": "get_streamflow_gauge"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoOptional ISO-8601 lookback duration such as "PT6H" or "P1D".
site_idsYesSingle USGS site number, comma-separated string, or array of site numbers (e.g. "01646500" for Potomac River).
parameter_codesNoOptional USGS parameter codes (default ["00060", "00065"] for discharge and gage height).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds that readings are 'live instantaneous' rather than historical, which is useful behavioral context. It does not mention provisional-data caveats, behavior on invalid site IDs, or rate limits.

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

Conciseness5/5

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

A single front-loaded sentence that identifies the data source, the measurements with codes and units, and the site scoping. No filler or redundant restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only fetch with no output schema and fully documented parameters, the description covers what an agent needs to select and invoke it. The main residual gap is any indication of response shape or how multiple sites are keyed in the result, which is minor against the annotation coverage.

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?

With 100% schema coverage the baseline is 3, but the description earns more by expanding the parameter codes into plain meaning and units: 00060 as discharge in ft3/s, 00065 as gage height in ft, and 00010 as water temperature in C. That adds semantics the schema does not spell out beyond its default list.

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

Purpose4/5

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

The description names a specific verb plus resource: fetch live instantaneous streamflow discharge, gage height, or water temperature from USGS NWIS for one or more site numbers. That is far more concrete than the title alone. It does not explicitly differentiate itself from search_state_water_sites, so it falls short of a 5.

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

Usage Guidelines3/5

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

Usage is implied by 'fetch live instantaneous ... for one or more site numbers', which tells an agent this is a real-time data pull keyed by site ID. There is no statement of when to prefer this over search_state_water_sites (e.g. to locate a site first) and no exclusions or prerequisites.

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.