Definitely inform the company. I hope they refund your money. Who knows what contamination could get into a partially opened container?
It sounds like the company needs to review their quality control procedures, if none were properly sealed. Hopefully your complaint will help with that.