No. Pistol shrimps do not and can not break glass. You are thinking of a Mantis Shrimp, and even those need to be fairly large to break glass, even though they can.
So no, pistol shrimp do not break glass.
The Randalli goby is a good candidate to pair up with a pistol shrimp, and i've seen many tanks with these pairs. You can try other gobies as well, like a Yellow Watchman goby or a Wheelers watchman goby, etc.. Usually the sand-burrowing gobies *could* pair up with a pistol shrimp. Even though your chances of them teaming up are decent, it is not a sure-fire thing.