Limit tools

Anyone?
Basically i want to stop after one operation.