Investigation of the tool-rock interaction using Drucker-Prager failure criterion