I agree with the answer given by Udaya. One of the most important requirements of a compound to be measurable with GC-MS is that it should be sufficiently volatile.
Hence, the choice between LC-MS or GC-MS Depends on the type of compounds that are present in your wastewater. If your looking for pharmaceuticals and personal care products (PPCPs) it’s important to realize that many of these commonly detected pharmaceutical have a very low volatility. There exist some solution for this (e.g. derivatization) but this often not very succesfull.
Therefore, in the case of pharmaceuticals as the target compounds, go for LC-MS instead of GC-MS.
US EPA has a LC/MS/MS method that you could research to see if any of the compounds you are looking at studying are on that list. Majority of pharma compounds now are analyzed using LC/MS/MS. You would have to target specific pharmaceuticals that are amenable to GC/MS in order for the GC/MS to work for your project. The EPA method may come in handy even if you are not going to use LC/MS, it uses solid phase extraction to isolate and concentrate target compounds, which could be useful in your GC/MS project. https://www.epa.gov/sites/production/files/2015-10/documents/method_1694_2007.pdf