# EPA ATTAINS water quality assessments and impaired waters

US EPA ATTAINS: the state-reported record of whether rivers, lakes, estuaries and other waters meet their water quality standards, which uses are supported, the causes of impairment and the likely pollution sources.

- No API key needed to call. The provider needs an API key; AgentNative holds it.
- Source: [US EPA ATTAINS web services](https://www.epa.gov/waterdata/attains)
- Licence and terms: [US federal work, 17 U.S.C. 105\(a\); api.data.gov key terms apply](https://www.epa.gov/waterdata/how-access-and-use-attains-web-services)
- Coverage: United States states, territories and tribes
- Answers are shared and cached for 86400 seconds.

## Questions you can ask

- Which agency reports water quality assessments for the District of Columbia in ATTAINS? (operation `attains_organizations`)
- How many waters has the District of Columbia defined for water quality assessment? (operation `attains_assessment_unit_count`)
- How much of the District of Columbia's waters are impaired, and by what, in the 2022 report? (operation `attains_state_summary`)
- Is lower Rock Creek in the District of Columbia impaired, and why? (operation `attains_unit_assessment`)

## Operations

### ATTAINS organizations for a state

Answers: which organizations \(state agencies and tribes\) report water quality assessments to ATTAINS for a state, and what is each one's organization id?

- `state`: required, string, Two-letter state or territory code.

Example: Which agency reports water quality assessments for the District of Columbia in ATTAINS?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"epa_attains","operation":"attains_organizations","params":{"state":"DC"}}}
```

Over HTTP:

```
curl '/v1/connectors/epa_attains/attains_organizations?state=DC'
```

### Number of assessed waters defined for a state

Answers: how many assessment units \(distinct stretches of river, lakes and other waters\) has a state defined in ATTAINS?

- `state`: required, string, Two-letter state or territory code.

Example: How many waters has the District of Columbia defined for water quality assessment?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"epa_attains","operation":"attains_assessment_unit_count","params":{"state":"DC"}}}
```

Over HTTP:

```
curl '/v1/connectors/epa_attains/attains_assessment_unit_count?state=DC'
```

### Water quality summary for a state or tribe

Answers: for a reporting cycle, how many miles, acres or square miles of each water type fully support or do not support each designated use, and which pollutant groups cause the impairments?

- `organization_id`: required, string, ATTAINS organization id for the state or tribe, from attains\_organizations \(DOEE is the District of Columbia\).
- `reporting_cycle`: required, string, Integrated report cycle year, such as 2022 \(cycles run every two years\).

Example: How much of the District of Columbia's waters are impaired, and by what, in the 2022 report?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"epa_attains","operation":"attains_state_summary","params":{"organization_id":"DOEE","reporting_cycle":"2022"}}}
```

Over HTTP:

```
curl '/v1/connectors/epa_attains/attains_state_summary?organization_id=DOEE&reporting_cycle=2022'
```

### Assessment of one water body

Answers: is a specific assessed water impaired, which uses does it support, which pollutants cause the impairment and what are the probable sources?

- `organization_id`: required, string, ATTAINS organization id for the state or tribe, from attains\_organizations \(DOEE is the District of Columbia\).
- `assessment_unit_id`: required, string, Assessment unit identifier, such as DCRCR00R\_01 for lower Rock Creek.

Example: Is lower Rock Creek in the District of Columbia impaired, and why?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"epa_attains","operation":"attains_unit_assessment","params":{"organization_id":"DOEE","assessment_unit_id":"DCRCR00R_01"}}}
```

Over HTTP:

```
curl '/v1/connectors/epa_attains/attains_unit_assessment?organization_id=DOEE&assessment_unit_id=DCRCR00R_01'
```

## Source notice

Source: US Environmental Protection Agency, Assessment, Total Maximum Daily Load Tracking and Implementation System \(ATTAINS\). US federal government works are not subject to copyright: 17 U.S.C. 105\(a\) states "Copyright protection under this title is not available for any work of the United States Government". Not endorsed by US Environmental Protection Agency, Assessment, Total Maximum Daily Load Tracking and Implementation System \(ATTAINS\). The states, tribes and territories that report the assessments are responsible for their content.

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
