It's easy to catch when the customer is sophisticated. Business-unsophisticated writers looking at random for literary agents may well end-up paying money up-front for zero value services. I had a quick look around, and found this seems to be one sensible rubric: https://aalitagents.org/canon-of-ethics/