Echo Facility Search
echo_facility_searchSearch EPA-regulated facilities by name, state, ZIP code, city, or industry code. facility_name uses a case-insensitive starts-with match; prepend % for a contains search (e.g., "%Exxon%" finds any facility with "Exxon" in its name). Combine at least two filters, a bare state is rejected upstream for large states ({state: "TX"} alone matches ~344,000 facilities and errors). Good queries: {facility_name: "%Exxon%", state: "TX"}, {city: "Baytown", state: "TX"}, {zip: "94025"}, {naics: "3251", state: "TX"}. Returns facility IDs, addresses, lat/long, compliance status, inspection/enforcement counts, and total penalties.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 20,
"state": "PA",
"facility_name": "Steel Mill"
},
"name": "echo_facility_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | ZIP code. | |
| city | No | City name (e.g., "Baytown"). | |
| limit | No | Max results to return (default 20, max 100). | |
| naics | No | NAICS industry code, 2-6 digits, prefix match (e.g., "3251" = basic chemical manufacturing). Pair with state; alone it matches too many facilities. | |
| state | No | Two-letter state abbreviation (e.g., "TX"). | |
| facility_name | No | Facility name, starts-with match by default; use % wildcard for contains search, e.g., "%Exxon%" or "%Baytown%". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| returned | Yes | Number of facilities returned in this response | |
| facilities | Yes | List of EPA-regulated facilities | |
| total_count | Yes | Total number of facilities matching search criteria |