You also want to add some form of "grit" like crushed eggshells, rock dust, or even garden soil. As the worms work their way through your kitchen scraps, they'll produce worm castings which are a ...
These are termed respectively the worm- and ant-lions ... slide in the sand and are at once grasped and sucked. Demons of the Dust: a Study in Insect Behaviour.