I think what it really is gonna come down to is the food?? What are u feeding and is it canned or dry or both??
Ive had issues with the anal glands too with my male cat. I had the vet express them out and he has been pretty good since. I also added some canned pumpkin to his diet to keep his stool normal. When they have a normal poop that should be expressing the anal gland naturally.
Anyhow, Im sure more people will give better advice but the food issue i think is key here.