Measuring tool for drilling