To make these cookies gluten-free, substitute the all-purpose flour with a high-quality 1:1 gluten-free baking flour blend that contains xanthan gum. Ensure all other ingredients, including baking soda and jam, are certified gluten-free. Baking time may remain the same, but monitor closely for doneness.