So I have a hunter with a mantis companion. At 7th lvl it gains mandibles:1d6 secondary attack against a grabbed target. At 9th lvl it gains multiattack:An animal companion gains Multiattack as a bonus feat if it has three or more natural attacks and does not already have that feat. If it does not have the requisite three or more natural attacks, the animal companion instead gains a second attack with one of its natural weapons, albeit at a –5 penalty.
So does the mantis get the secondary mandible attack without the secondary attack penalty, or does it get an additional claw attack because the mandibles are only usable following a successful grapple?