They help to get to the edible portion of any nut, but are especially common to help one properly eat a chestnut.
Nutcrackers like this were often in similar sets of seafood tools that included implements for cracking the shells of shellfish in addition to picks for pulling out the meat.
The nutcrackers could also often been found with a matching wooden bowl designed to look like a chestnut.