@catherine_of_the_faith I'm no vet so you absolutely shouldn't take my advise BUT.....
My dog often has mucousy poo, and has since he was a puppy. Often it's the first part of his poo that's mucousy, and the rest is ok. Rarely, it's mucous throughout. I also freaked out about it at first...