Skip to content
Eden Engine

Get Public Water System

epaenvirofacts/water-system

Returns one public drinking-water system from EPA's Safe Drinking Water Information System (SDWIS) in Envirofacts by its PWSID: name, mailing city and state, primacy agency, type, status, owner type, primary source, population served, connections, whether it is a wholesaler or serves a school or day-care, and the deactivation date; or null when the id is unknown. Contact persons, phones, e-mail addresses and street addresses are not returned. Source: U.S. Environmental Protection Agency (EPA) Envirofacts, https://www.epa.gov/enviro, U.S. government data in the public domain, reduced to the fields listed (contact persons, phone numbers, e-mail addresses and mailing addresses are not returned) and served by Eden Engine; not an official EPA product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

U.S. EPA Envirofacts

Source: U.S. Environmental Protection Agency (EPA) Envirofacts, https://www.epa.gov/enviro, U.S. government data in the public domain, reduced to the fields listed (contact persons, phone numbers, e-mail addresses and mailing addresses are not returned) and served by Eden Engine; not an official EPA product.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "epaenvirofacts/water-system" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "epaenvirofacts/water-system" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "epaenvirofacts/water-system", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "epaenvirofacts/water-system", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "pwsid"
  ],
  "properties": {
    "pwsid": {
      "type": "string",
      "pattern": "^[A-Z]{2}[0-9]{7}$",
      "description": "Public water system id: two capital letters (the primacy agency) and seven digits, for example DE0000002."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "water_system"
  ],
  "properties": {
    "water_system": {
      "type": [
        "object",
        "null"
      ],
      "required": [
        "pwsid"
      ],
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Water system name."
        },
        "pwsid": {
          "type": "string",
          "description": "Public water system identifier: two-letter primacy agency code plus seven digits, for example DE0000004."
        },
        "epa_region": {
          "type": [
            "integer",
            "null"
          ],
          "description": "EPA region number, 1 to 10."
        },
        "owner_type": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string",
              "description": "Owner code."
            },
            "label": {
              "type": [
                "string",
                "null"
              ],
              "description": "Plain-language owner type."
            }
          },
          "description": "Federal, local, state, Native American, private or public/private ownership; null when EPA holds none.",
          "additionalProperties": true
        },
        "system_type": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string",
              "description": "CWS, NTNCWS or TNCWS."
            },
            "label": {
              "type": [
                "string",
                "null"
              ],
              "description": "Plain-language type."
            }
          },
          "description": "Type: community, non-transient non-community or transient non-community water system.",
          "additionalProperties": true
        },
        "mailing_city": {
          "type": [
            "string",
            "null"
          ],
          "description": "City in the system's mailing address."
        },
        "is_wholesaler": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "True when the system sells water to other systems."
        },
        "mailing_state": {
          "type": [
            "string",
            "null"
          ],
          "description": "Two-letter code of the state in the system's mailing address. It can differ from the state the system serves; primacy_agency is the regulating state."
        },
        "primacy_agency": {
          "type": [
            "string",
            "null"
          ],
          "description": "Code of the agency that regulates the system, usually the state."
        },
        "primary_source": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string",
              "description": "Source code."
            },
            "label": {
              "type": [
                "string",
                "null"
              ],
              "description": "Plain-language source."
            }
          },
          "description": "Ground water, surface water or purchased water; null when EPA holds none.",
          "additionalProperties": true
        },
        "activity_status": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string",
              "description": "A, I, N or M."
            },
            "label": {
              "type": [
                "string",
                "null"
              ],
              "description": "Plain-language status."
            }
          },
          "description": "Whether the system is active, inactive, or changed from public to non-public.",
          "additionalProperties": true
        },
        "deactivation_date": {
          "type": [
            "string",
            "null"
          ],
          "description": "Date the system was deactivated, YYYY-MM-DD; null while it is active."
        },
        "population_served": {
          "type": [
            "integer",
            "null"
          ],
          "description": "People served by the system (a count)."
        },
        "service_connections": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Number of service connections."
        },
        "is_school_or_daycare": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "True when the system serves a school or day-care."
        }
      },
      "description": "The system, or null when the id is unknown.",
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}