Skip to main content
Glama
malonestar

gov-data-mcp

by malonestar

nhd-surface-water-404-screener

Determine if a site falls under Clean Water Act jurisdiction by screening coordinates against official USGS surface-water data, returning distances, stream order, and a jurisdictional-likelihood flag.

Instructions

NHD Surface Water & Section 404 Wetland Screener. Screen any lat/lon against USGS NHDPlus HR surface water. 94 fields: exact distance to the nearest perennial, intermittent and ephemeral reach, waterbody type and purpose, mean annual flow, stream order, HUC-8/10/12, a jurisdictional-likelihood call with its reasoning, and a Section 404/WOTUS flag. Reads live from the official government source. Store page: https://apify.com/malonestar/nhd-surface-water-404-screener

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assetsYesRequired. The list of sites to screen, in the standard [{lat, lon, label}] shape. Use decimal degrees (lon is negative in the USA). label is optional free text - it is echoed on every output row so you can join results back to your parcel list. Example: [{"lat":40.0143,"lon":-105.2829,"label":"Boulder CO parcel"}]. The four prefilled sites deliberately cover the range of outcomes: a creekside parcel 5 m from a perennial stream carrying 103 cfs (HIGH), a Louisiana site sitting inside an NHD swamp/marsh (HIGH, wetland-driven), an Arizona parcel inside a mapped desert wash (LOW - washes are reported but are not jurisdictional after Sackett), an upland Mojave parcel whose only nearby feature is an ephemeral reach (LOW), and an open-coast parcel at the mouth of Mobile Bay sitting on the Gulf of Mexico polygon (HIGH) - the coastal case that build 1.1.6 and earlier could not screen at all. Example: [{"lat":40.0143,"lon":-105.2829,"label":"Boulder CO - creekside redevelopment parcel"},{"lat":29.99091,"lon":-89.93323,"label":"New Orleans East LA - swamp/marsh adjacent site"},{"lat":33.42931,"lon":-111.98414,"label":"Tempe AZ - parcel inside a mapped desert wash"},{"lat":35.2,"lon":-115.9,"label":"Mojave NP CA - upland solar reference site"},{"lat":30.2481,"lon":-88.0783,"label":"Dauphin Islan…(truncated).
maxResultsNoUpper bound on the number of assets screened, and therefore on the number of dataset rows produced. One asset always produces exactly one row, including sites that turn out to be far from any mapped water. Clamped to 1-10000. Example: 100. Applied by default if omitted: 1000.
radiusMetersNoHow far around each site to look for NHD flowlines, waterbodies and water areas. 1000 m covers a typical Phase-I ESA adjacent-property review; widen to 3000 m for utility-scale solar, BESS or data-center siting. Clamped to 50-8000 m. Example: 1000. Applied by default if omitted: 1600.
includeNonNetworkFlowlinesNoAlso query NHDPlus HR layer 4 (NonNetworkNHDFlowline) for isolated ditches, canals and disconnected reaches near the site. Leave on for a conservative wetland-delineation scope; turn off to save one request per asset. Note that layer 4 carries no NHDPlus value-added attributes, so a nearest reach found there has no mean annual flow, stream order or drainage area. Example: true.
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that the tool reads live from the official government source, that one asset always produces exactly one row, and that layer 4 lacks NHDPlus value-added attributes. It also explains the default clamping behavior for parameters. This is strong behavioral disclosure for a read-only screening tool.

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 description is front-loaded with the tool's purpose and key outputs, then dives into parameter details. It's long but every sentence earns its place—the example with five sites is verbose but serves as a powerful calibration for the agent. The structure is logical: purpose, outputs, source, then parameter semantics.

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?

Given the tool's complexity (94 fields, 4 parameters, no output schema), the description is quite complete. It explains the output fields, the jurisdictional call, the data source, and parameter behavior. The only gap is that it doesn't describe the output format (e.g., whether results are returned as a dataset or inline), but the absence of an output schema and the tool's nature as a screener make this less critical.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds significant value beyond the schema: it explains the standard shape for assets, provides a detailed example with five prefilled sites that deliberately cover the range of outcomes, and gives practical guidance for radiusMeters (Phase-I ESA vs utility-scale). The includeNonNetworkFlowlines parameter is well-explained with trade-offs.

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 clearly states the tool screens lat/lon coordinates against NHDPlus HR surface water data, listing the 94 output fields and the jurisdictional-likelihood call. It distinguishes itself from siblings like fws-wetlands-proximity-screener by focusing on NHD surface water and Section 404/WOTUS flags, and it names the specific government source.

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?

The description provides clear context for when to use the tool (screening any lat/lon against NHD surface water) and includes practical guidance in the parameter descriptions (e.g., radiusMeters for Phase-I ESA vs utility-scale siting). It doesn't explicitly state when not to use it or name alternatives, but the sibling list and the tool's specific scope make the usage context clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/malonestar/gov-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server