It really depends on the fish although neither of mine bothered corals. One was a lovely fish that I was sorry to see pass many years later. He did not really eat the cleanup crew, did not bother the shrimp, and was peaceful with other fish.
The second one was a terror. He killed almost all of the cleanup crew (given more time he would have gotten it all) and attacked my barred hamlet which shortly thereafter resulted in my hamlets death. I did not have a shrimp in the tank at the time, but I am sure he would have killed it. That fish went to the LFS with full disclosure...
A gorgeous, active fish that I would like to have again, but I am kind of wary now.