First of all, we still don't know the size of the N. wennerae in question. This species lives for a maximum of around 6 years over most of its range. A three year old animal is around 4 cm. After another 3 years, it will be around 6 cm max. This is just approaching the size that glass might be damaged. (In more temporate waters such as Bermuda, N. wennerae may live longer and reach 7.5 cm in 7 or 8 years. At this size it could cause damage to thin glass.)
As for breaking rock, coral or coralline algae, that is how these animals generate cavities on the reef. By repeated striking of the substrate month after month, they gradually wear away the substrate. Often this is done as a combination of trying to alter the substrate as well as when using the cavity of an anvil. There is a big difference between calcium carbonate and silicon dioxide. Glass does not erode and crumble with repeated blows like coral does. Tens of thousands of strikes will erode calcium carbonate.
We have collected literally over 100,000 N. wennerae and I have kept thousands in various kinds of aquaria. I have not had one break standard thickness aquarium glass. I'm not saying that the largest N. wennerae could not chip or crack a 10 gal tank, but it is very, very unlikely. I would not think twice about keeping a 6 cm N. wennerae in a 10 gal. aquarium.
Roy