To make these Vanilla Glazed Apple Cookies gluten free, replace the all-purpose flour with a reliable 1:1 gluten-free baking flour blend that includes xanthan gum or a similar binder. Also confirm that the confectioners’ sugar, vanilla extract, baking soda, spices, raisins, and any packaged ingredients are labeled gluten free, since brands and processing methods can vary. Because gluten-free cookie dough can sometimes be slightly softer, chilling the dough briefly before baking may help the cookies hold their shape better. For anyone with celiac disease or severe gluten sensitivity, use clean bowls, mixers, baking sheets, cooling racks, and utensils to avoid cross-contact.