If your cookies are dry, you most likely added too much flour. Too much flour will make your cookies feel dense and crumbly. Also, overmixing cookie dough will develop the gluten in the flour, which can lead to tough cookies. Avoid using a mixer and just combine everything in a bowl with a spatula or wooden spoon.