naftiko: 1.0.0-alpha2 info: label: U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services — Lookups description: 'Lookups. 20 operations. Lead operation: ECHO BP Tribes Lookup Service. Self-contained Naftiko capability covering one EPA business surface.' tags: - EPA - Lookups created: '2026-05-29' modified: '2026-05-29' binds: - namespace: env keys: {} capability: consumes: - type: http namespace: echo-cwa-lookups baseUri: https://echodata.epa.gov/echo description: U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services — Lookups business capability. Self-contained, no shared references. resources: - name: rest-lookups-bp-tribes path: /rest_lookups.bp_tribes operations: - name: getrestlookupsbptribes method: GET description: ECHO BP Tribes Lookup Service inputParameters: - name: output in: query type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: query type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: query type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: query type: string required: false description: Enter a partial or complete code value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-bp-tribes path: /rest_lookups.bp_tribes operations: - name: postrestlookupsbptribes method: POST description: ECHO BP Tribes Lookup Service inputParameters: - name: output in: formData type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: formData type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: formData type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: formData type: string required: false description: Enter a partial or complete code value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-cwa-parameters path: /rest_lookups.cwa_parameters operations: - name: getrestlookupscwaparameters method: GET description: ECHO CWA Parameter Lookup Service inputParameters: - name: output in: query type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: query type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: query type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: query type: string required: false description: Enter a partial or complete code value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-cwa-parameters path: /rest_lookups.cwa_parameters operations: - name: postrestlookupscwaparameters method: POST description: ECHO CWA Parameter Lookup Service inputParameters: - name: output in: formData type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: formData type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: formData type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: formData type: string required: false description: Enter a partial or complete code value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-cwa-pollutants path: /rest_lookups.cwa_pollutants operations: - name: getrestlookupscwapollutants method: GET description: ECHO CWA Pollutants Lookup Service inputParameters: - name: output in: query type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: query type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: query type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: query type: string required: false description: Enter a partial or complete code value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-cwa-pollutants path: /rest_lookups.cwa_pollutants operations: - name: postrestlookupscwapollutants method: POST description: ECHO CWA Pollutants Lookup Service inputParameters: - name: output in: formData type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: formData type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: formData type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: formData type: string required: false description: Enter a partial or complete code value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-federal-agencies path: /rest_lookups.federal_agencies operations: - name: getrestlookupsfederalagencies method: GET description: ECHO Federal Agency Lookup Service inputParameters: - name: output in: query type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: query type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: query type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: query type: string required: false description: Enter a partial or complete code value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-federal-agencies path: /rest_lookups.federal_agencies operations: - name: postrestlookupsfederalagencies method: POST description: ECHO Federal Agency Lookup Service inputParameters: - name: output in: formData type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: formData type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: formData type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: formData type: string required: false description: Enter a partial or complete code value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-icis-inspection-types path: /rest_lookups.icis_inspection_types operations: - name: getrestlookupsicisinspectiontypes method: GET description: ECHO ICIS NPDES Inspection Types Lookup Service inputParameters: - name: output in: query type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: query type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: query type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: query type: string required: false description: Enter a partial or complete code value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-icis-inspection-types path: /rest_lookups.icis_inspection_types operations: - name: postrestlookupsicisinspectiontypes method: POST description: ECHO ICIS NPDES Inspection Types Lookup Service inputParameters: - name: output in: formData type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: formData type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: formData type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: formData type: string required: false description: Enter a partial or complete code value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-icis-law-sections path: /rest_lookups.icis_law_sections operations: - name: getrestlookupsicislawsections method: GET description: ECHO ICIS NPDES Law Sections Lookup Service inputParameters: - name: output in: query type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: query type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: statute_code in: query type: string required: false description: statute_code - name: status_flag in: query type: string required: false description: status_flag - name: search_term in: query type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: query type: string required: false description: Enter a partial or complete code value. - name: sort_order in: query type: number required: false description: sort_order outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-icis-law-sections path: /rest_lookups.icis_law_sections operations: - name: postrestlookupsicislawsections method: POST description: ECHO ICIS NPDES Law Sections Lookup Service inputParameters: - name: output in: formData type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: formData type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: statute_code in: formData type: string required: false description: statute_code - name: status_flag in: formData type: string required: false description: status_flag - name: search_term in: formData type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: formData type: string required: false description: Enter a partial or complete code value. - name: sort_order in: formData type: number required: false description: sort_order outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-naics-codes path: /rest_lookups.naics_codes operations: - name: getrestlookupsnaicscodes method: GET description: ECHO NAICS Codes Lookup Service inputParameters: - name: output in: query type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: query type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: query type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: query type: string required: false description: Enter a partial or complete code value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-naics-codes path: /rest_lookups.naics_codes operations: - name: postrestlookupsnaicscodes method: POST description: ECHO NAICS Codes Lookup Service inputParameters: - name: output in: formData type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: formData type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: formData type: string required: false description: Enter a partial or complete search phrase or word. - name: search_code in: formData type: string required: false description: Enter a partial or complete code value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-npdes-parameters path: /rest_lookups.npdes_parameters operations: - name: getrestlookupsnpdesparameters method: GET description: ECHO NPDES Parameters Lookup Service inputParameters: - name: output in: query type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: query type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: query type: string required: false description: Enter a partial or complete search phrase or word. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-npdes-parameters path: /rest_lookups.npdes_parameters operations: - name: postrestlookupsnpdesparameters method: POST description: ECHO NPDES Parameters Lookup Service inputParameters: - name: output in: formData type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: formData type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: search_term in: formData type: string required: false description: Enter a partial or complete search phrase or word. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-wbd-code-lu path: /rest_lookups.wbd_code_lu operations: - name: getrestlookupswbdcodelu method: GET description: ECHO WBD Code Lookup Service inputParameters: - name: output in: query type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: query type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: wbd_code in: query type: string required: false description: Two-digit watershed code [Hydrologic Unit Code (HUC)]. - name: wbd_level in: query type: string required: false description: The number of digits of the watershed code [Hydrologic Unit Code (HUC)] returned in the ValueCode. Must be an even number between 4 and 12. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-wbd-code-lu path: /rest_lookups.wbd_code_lu operations: - name: postrestlookupswbdcodelu method: POST description: ECHO WBD Code Lookup Service inputParameters: - name: output in: formData type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: formData type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: wbd_code in: formData type: string required: false description: Two-digit watershed code [Hydrologic Unit Code (HUC)]. - name: wbd_level in: formData type: string required: false description: The number of digits of the watershed code [Hydrologic Unit Code (HUC)] returned in the ValueCode. Must be an even number between 4 and 12. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-wbd-name-lu path: /rest_lookups.wbd_name_lu operations: - name: getrestlookupswbdnamelu method: GET description: ECHO WBD Name Lookup Service inputParameters: - name: output in: query type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: query type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: wbd_name in: query type: string required: true description: Watershed Name Filter. - name: wbd_level in: query type: string required: false description: The number of digits of the watershed code [Hydrologic Unit Code (HUC)] returned in the ValueCode. Must be an even number between 4 and 12. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-lookups-wbd-name-lu path: /rest_lookups.wbd_name_lu operations: - name: postrestlookupswbdnamelu method: POST description: ECHO WBD Name Lookup Service inputParameters: - name: output in: formData type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: formData type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. - name: wbd_name in: formData type: string required: true description: Watershed Name Filter. - name: wbd_level in: formData type: string required: false description: The number of digits of the watershed code [Hydrologic Unit Code (HUC)] returned in the ValueCode. Must be an even number between 4 and 12. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: echo-cwa-lookups-rest port: 8080 description: REST adapter for U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services — Lookups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/rest_lookups.bp_tribes name: rest-lookups-bp-tribes description: REST surface for ECHO BP Tribes Lookup Service. operations: - method: GET name: getrestlookupsbptribes description: ECHO BP Tribes Lookup Service call: echo-cwa-lookups.getrestlookupsbptribes with: output: rest.output callback: rest.callback search_term: rest.search_term search_code: rest.search_code outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.bp_tribes name: rest-lookups-bp-tribes description: REST surface for ECHO BP Tribes Lookup Service. operations: - method: POST name: postrestlookupsbptribes description: ECHO BP Tribes Lookup Service call: echo-cwa-lookups.postrestlookupsbptribes with: output: rest.output callback: rest.callback search_term: rest.search_term search_code: rest.search_code outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.cwa_parameters name: rest-lookups-cwa-parameters description: REST surface for ECHO CWA Parameter Lookup Service. operations: - method: GET name: getrestlookupscwaparameters description: ECHO CWA Parameter Lookup Service call: echo-cwa-lookups.getrestlookupscwaparameters with: output: rest.output callback: rest.callback search_term: rest.search_term search_code: rest.search_code outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.cwa_parameters name: rest-lookups-cwa-parameters description: REST surface for ECHO CWA Parameter Lookup Service. operations: - method: POST name: postrestlookupscwaparameters description: ECHO CWA Parameter Lookup Service call: echo-cwa-lookups.postrestlookupscwaparameters with: output: rest.output callback: rest.callback search_term: rest.search_term search_code: rest.search_code outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.cwa_pollutants name: rest-lookups-cwa-pollutants description: REST surface for ECHO CWA Pollutants Lookup Service. operations: - method: GET name: getrestlookupscwapollutants description: ECHO CWA Pollutants Lookup Service call: echo-cwa-lookups.getrestlookupscwapollutants with: output: rest.output callback: rest.callback search_term: rest.search_term search_code: rest.search_code outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.cwa_pollutants name: rest-lookups-cwa-pollutants description: REST surface for ECHO CWA Pollutants Lookup Service. operations: - method: POST name: postrestlookupscwapollutants description: ECHO CWA Pollutants Lookup Service call: echo-cwa-lookups.postrestlookupscwapollutants with: output: rest.output callback: rest.callback search_term: rest.search_term search_code: rest.search_code outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.federal_agencies name: rest-lookups-federal-agencies description: REST surface for ECHO Federal Agency Lookup Service. operations: - method: GET name: getrestlookupsfederalagencies description: ECHO Federal Agency Lookup Service call: echo-cwa-lookups.getrestlookupsfederalagencies with: output: rest.output callback: rest.callback search_term: rest.search_term search_code: rest.search_code outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.federal_agencies name: rest-lookups-federal-agencies description: REST surface for ECHO Federal Agency Lookup Service. operations: - method: POST name: postrestlookupsfederalagencies description: ECHO Federal Agency Lookup Service call: echo-cwa-lookups.postrestlookupsfederalagencies with: output: rest.output callback: rest.callback search_term: rest.search_term search_code: rest.search_code outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.icis_inspection_types name: rest-lookups-icis-inspection-types description: REST surface for ECHO ICIS NPDES Inspection Types Lookup Service. operations: - method: GET name: getrestlookupsicisinspectiontypes description: ECHO ICIS NPDES Inspection Types Lookup Service call: echo-cwa-lookups.getrestlookupsicisinspectiontypes with: output: rest.output callback: rest.callback search_term: rest.search_term search_code: rest.search_code outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.icis_inspection_types name: rest-lookups-icis-inspection-types description: REST surface for ECHO ICIS NPDES Inspection Types Lookup Service. operations: - method: POST name: postrestlookupsicisinspectiontypes description: ECHO ICIS NPDES Inspection Types Lookup Service call: echo-cwa-lookups.postrestlookupsicisinspectiontypes with: output: rest.output callback: rest.callback search_term: rest.search_term search_code: rest.search_code outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.icis_law_sections name: rest-lookups-icis-law-sections description: REST surface for ECHO ICIS NPDES Law Sections Lookup Service. operations: - method: GET name: getrestlookupsicislawsections description: ECHO ICIS NPDES Law Sections Lookup Service call: echo-cwa-lookups.getrestlookupsicislawsections with: output: rest.output callback: rest.callback statute_code: rest.statute_code status_flag: rest.status_flag search_term: rest.search_term search_code: rest.search_code sort_order: rest.sort_order outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.icis_law_sections name: rest-lookups-icis-law-sections description: REST surface for ECHO ICIS NPDES Law Sections Lookup Service. operations: - method: POST name: postrestlookupsicislawsections description: ECHO ICIS NPDES Law Sections Lookup Service call: echo-cwa-lookups.postrestlookupsicislawsections with: output: rest.output callback: rest.callback statute_code: rest.statute_code status_flag: rest.status_flag search_term: rest.search_term search_code: rest.search_code sort_order: rest.sort_order outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.naics_codes name: rest-lookups-naics-codes description: REST surface for ECHO NAICS Codes Lookup Service. operations: - method: GET name: getrestlookupsnaicscodes description: ECHO NAICS Codes Lookup Service call: echo-cwa-lookups.getrestlookupsnaicscodes with: output: rest.output callback: rest.callback search_term: rest.search_term search_code: rest.search_code outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.naics_codes name: rest-lookups-naics-codes description: REST surface for ECHO NAICS Codes Lookup Service. operations: - method: POST name: postrestlookupsnaicscodes description: ECHO NAICS Codes Lookup Service call: echo-cwa-lookups.postrestlookupsnaicscodes with: output: rest.output callback: rest.callback search_term: rest.search_term search_code: rest.search_code outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.npdes_parameters name: rest-lookups-npdes-parameters description: REST surface for ECHO NPDES Parameters Lookup Service. operations: - method: GET name: getrestlookupsnpdesparameters description: ECHO NPDES Parameters Lookup Service call: echo-cwa-lookups.getrestlookupsnpdesparameters with: output: rest.output callback: rest.callback search_term: rest.search_term outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.npdes_parameters name: rest-lookups-npdes-parameters description: REST surface for ECHO NPDES Parameters Lookup Service. operations: - method: POST name: postrestlookupsnpdesparameters description: ECHO NPDES Parameters Lookup Service call: echo-cwa-lookups.postrestlookupsnpdesparameters with: output: rest.output callback: rest.callback search_term: rest.search_term outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.wbd_code_lu name: rest-lookups-wbd-code-lu description: REST surface for ECHO WBD Code Lookup Service. operations: - method: GET name: getrestlookupswbdcodelu description: ECHO WBD Code Lookup Service call: echo-cwa-lookups.getrestlookupswbdcodelu with: output: rest.output callback: rest.callback wbd_code: rest.wbd_code wbd_level: rest.wbd_level outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.wbd_code_lu name: rest-lookups-wbd-code-lu description: REST surface for ECHO WBD Code Lookup Service. operations: - method: POST name: postrestlookupswbdcodelu description: ECHO WBD Code Lookup Service call: echo-cwa-lookups.postrestlookupswbdcodelu with: output: rest.output callback: rest.callback wbd_code: rest.wbd_code wbd_level: rest.wbd_level outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.wbd_name_lu name: rest-lookups-wbd-name-lu description: REST surface for ECHO WBD Name Lookup Service. operations: - method: GET name: getrestlookupswbdnamelu description: ECHO WBD Name Lookup Service call: echo-cwa-lookups.getrestlookupswbdnamelu with: output: rest.output callback: rest.callback wbd_name: rest.wbd_name wbd_level: rest.wbd_level outputParameters: - type: object mapping: $. - path: /v1/rest_lookups.wbd_name_lu name: rest-lookups-wbd-name-lu description: REST surface for ECHO WBD Name Lookup Service. operations: - method: POST name: postrestlookupswbdnamelu description: ECHO WBD Name Lookup Service call: echo-cwa-lookups.postrestlookupswbdnamelu with: output: rest.output callback: rest.callback wbd_name: rest.wbd_name wbd_level: rest.wbd_level outputParameters: - type: object mapping: $. - type: mcp namespace: echo-cwa-lookups-mcp port: 9090 transport: http description: MCP adapter for U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services — Lookups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: echo-bp-tribes-lookup-service description: ECHO BP Tribes Lookup Service hints: readOnly: true destructive: false idempotent: true call: echo-cwa-lookups.getrestlookupsbptribes with: output: tools.output callback: tools.callback search_term: tools.search_term search_code: tools.search_code outputParameters: - type: object mapping: $. - name: echo-bp-tribes-lookup-service-2 description: ECHO BP Tribes Lookup Service hints: readOnly: true destructive: false idempotent: false call: echo-cwa-lookups.postrestlookupsbptribes with: output: tools.output callback: tools.callback search_term: tools.search_term search_code: tools.search_code outputParameters: - type: object mapping: $. - name: echo-cwa-parameter-lookup-service description: ECHO CWA Parameter Lookup Service hints: readOnly: true destructive: false idempotent: true call: echo-cwa-lookups.getrestlookupscwaparameters with: output: tools.output callback: tools.callback search_term: tools.search_term search_code: tools.search_code outputParameters: - type: object mapping: $. - name: echo-cwa-parameter-lookup-service-2 description: ECHO CWA Parameter Lookup Service hints: readOnly: true destructive: false idempotent: false call: echo-cwa-lookups.postrestlookupscwaparameters with: output: tools.output callback: tools.callback search_term: tools.search_term search_code: tools.search_code outputParameters: - type: object mapping: $. - name: echo-cwa-pollutants-lookup-service description: ECHO CWA Pollutants Lookup Service hints: readOnly: true destructive: false idempotent: true call: echo-cwa-lookups.getrestlookupscwapollutants with: output: tools.output callback: tools.callback search_term: tools.search_term search_code: tools.search_code outputParameters: - type: object mapping: $. - name: echo-cwa-pollutants-lookup-service-2 description: ECHO CWA Pollutants Lookup Service hints: readOnly: true destructive: false idempotent: false call: echo-cwa-lookups.postrestlookupscwapollutants with: output: tools.output callback: tools.callback search_term: tools.search_term search_code: tools.search_code outputParameters: - type: object mapping: $. - name: echo-federal-agency-lookup-service description: ECHO Federal Agency Lookup Service hints: readOnly: true destructive: false idempotent: true call: echo-cwa-lookups.getrestlookupsfederalagencies with: output: tools.output callback: tools.callback search_term: tools.search_term search_code: tools.search_code outputParameters: - type: object mapping: $. - name: echo-federal-agency-lookup-service-2 description: ECHO Federal Agency Lookup Service hints: readOnly: true destructive: false idempotent: false call: echo-cwa-lookups.postrestlookupsfederalagencies with: output: tools.output callback: tools.callback search_term: tools.search_term search_code: tools.search_code outputParameters: - type: object mapping: $. - name: echo-icis-npdes-inspection-types-lookup-service description: ECHO ICIS NPDES Inspection Types Lookup Service hints: readOnly: true destructive: false idempotent: true call: echo-cwa-lookups.getrestlookupsicisinspectiontypes with: output: tools.output callback: tools.callback search_term: tools.search_term search_code: tools.search_code outputParameters: - type: object mapping: $. - name: echo-icis-npdes-inspection-types-lookup-service-2 description: ECHO ICIS NPDES Inspection Types Lookup Service hints: readOnly: true destructive: false idempotent: false call: echo-cwa-lookups.postrestlookupsicisinspectiontypes with: output: tools.output callback: tools.callback search_term: tools.search_term search_code: tools.search_code outputParameters: - type: object mapping: $. - name: echo-icis-npdes-law-sections-lookup-service description: ECHO ICIS NPDES Law Sections Lookup Service hints: readOnly: true destructive: false idempotent: true call: echo-cwa-lookups.getrestlookupsicislawsections with: output: tools.output callback: tools.callback statute_code: tools.statute_code status_flag: tools.status_flag search_term: tools.search_term search_code: tools.search_code sort_order: tools.sort_order outputParameters: - type: object mapping: $. - name: echo-icis-npdes-law-sections-lookup-service-2 description: ECHO ICIS NPDES Law Sections Lookup Service hints: readOnly: true destructive: false idempotent: false call: echo-cwa-lookups.postrestlookupsicislawsections with: output: tools.output callback: tools.callback statute_code: tools.statute_code status_flag: tools.status_flag search_term: tools.search_term search_code: tools.search_code sort_order: tools.sort_order outputParameters: - type: object mapping: $. - name: echo-naics-codes-lookup-service description: ECHO NAICS Codes Lookup Service hints: readOnly: true destructive: false idempotent: true call: echo-cwa-lookups.getrestlookupsnaicscodes with: output: tools.output callback: tools.callback search_term: tools.search_term search_code: tools.search_code outputParameters: - type: object mapping: $. - name: echo-naics-codes-lookup-service-2 description: ECHO NAICS Codes Lookup Service hints: readOnly: true destructive: false idempotent: false call: echo-cwa-lookups.postrestlookupsnaicscodes with: output: tools.output callback: tools.callback search_term: tools.search_term search_code: tools.search_code outputParameters: - type: object mapping: $. - name: echo-npdes-parameters-lookup-service description: ECHO NPDES Parameters Lookup Service hints: readOnly: true destructive: false idempotent: true call: echo-cwa-lookups.getrestlookupsnpdesparameters with: output: tools.output callback: tools.callback search_term: tools.search_term outputParameters: - type: object mapping: $. - name: echo-npdes-parameters-lookup-service-2 description: ECHO NPDES Parameters Lookup Service hints: readOnly: true destructive: false idempotent: false call: echo-cwa-lookups.postrestlookupsnpdesparameters with: output: tools.output callback: tools.callback search_term: tools.search_term outputParameters: - type: object mapping: $. - name: echo-wbd-code-lookup-service description: ECHO WBD Code Lookup Service hints: readOnly: true destructive: false idempotent: true call: echo-cwa-lookups.getrestlookupswbdcodelu with: output: tools.output callback: tools.callback wbd_code: tools.wbd_code wbd_level: tools.wbd_level outputParameters: - type: object mapping: $. - name: echo-wbd-code-lookup-service-2 description: ECHO WBD Code Lookup Service hints: readOnly: true destructive: false idempotent: false call: echo-cwa-lookups.postrestlookupswbdcodelu with: output: tools.output callback: tools.callback wbd_code: tools.wbd_code wbd_level: tools.wbd_level outputParameters: - type: object mapping: $. - name: echo-wbd-name-lookup-service description: ECHO WBD Name Lookup Service hints: readOnly: true destructive: false idempotent: true call: echo-cwa-lookups.getrestlookupswbdnamelu with: output: tools.output callback: tools.callback wbd_name: tools.wbd_name wbd_level: tools.wbd_level outputParameters: - type: object mapping: $. - name: echo-wbd-name-lookup-service-2 description: ECHO WBD Name Lookup Service hints: readOnly: true destructive: false idempotent: false call: echo-cwa-lookups.postrestlookupswbdnamelu with: output: tools.output callback: tools.callback wbd_name: tools.wbd_name wbd_level: tools.wbd_level outputParameters: - type: object mapping: $.