Haha, no, you put the parts in the tumbler with the abrasive/polishing materials. Some people use ceramic beads, others use crushed walnut shells (think media blasting materials). Once you place the bolts in the tumbler you turn it on and it vibrates at a high frequency causing the media to "scrub" the parts that have been inserted. While it is running, you can do something else with your time, instead of cleaning one bolt at a time.
Sadly, no magic, but you can always wave a wand over it and say some special words.
Here is a nice video showing parts being cleaned.
https://www.youtube.com/watch?v=-xQIL19APZE