When you get to the nest deploy a creature somewhere near the mamasaurs then shoot a pharmone dart at it. If it is a more powerful creature it will give you enough time to steal an egg.

More Magmasaur Taming & KO Tips