Generally these apps try and pressure you to pay for some kind of subscription.
MacKeeper might actually perform some legitimate operations, but largely these operations are things you can easily do without their program and often these operations don't need to be done unless you're having a particular problem. I don't know if Advanced Mac Cleaner actually does anything useful. They might claim to do, or actually do, something legitimate like clean caches or whatever.