Teaching kids how to fill a jar is a great practical life skill. Who wants rice and beans all over the floor every time you pour out a bag? Having your child transfer bulk goods to glass jars is also a great way to keep your child busy while you put away the groceries! Funnels make it more fun.
Here Kiddo is transferring whole cloves which add textural and olfactory variety to the chore.
You can also mix it up -- transfer spices to small jars or grains and beans to large jars using a scoop.
A cluttered kitchen table is optional, of course. (Just doing my part to make you feel better about your own housekeeping skills.)
It's best not to get upset when your child spills a few; it will happen. Just get out the broom and teach him how to sweep!