If held by a Swampert, the Swampertite allows it to Mega Evolve into Mega Swampert if its Trainer has a Key Stone. A Trainer can only Mega Evolve one Pokémon per battle (or only have one Mega-Evolved Pokémon at any given momentZA).
As a Mega Stone, it is unaffected by item-negating effects (such as Embargo and Klutz). Item-manipulating effects (such as Trick and Fling) cannot give or remove a Swampertite from Swampert.
Outside of battle
If held by a Swampert, the Swampertite allows it to Mega Evolve into Mega Swampert when it performs a Spectacular Talent during a Pokémon Contest Spectacular if its Trainer has a Key Stone. Swampert will remain a Mega Swampert until the Talent Round ends.