A system for fastening an anchor in a borehole in a mineral substrate, in particular concrete, mortar or masonry, comprising an anchor having a core section and a thread section, the core section having a core diameter d K and the thread section having an outer diameter d G, and a grooving tool for grooving an internal thread in the borehole, the grooving tool comprising the following: an at least approximately cylindrical or conical base body having a leading and a trailing end (12a, 12b), a force application device being provided, via which a torque for screwing the grooving tool into the borehole and for grooving the thread is transmitted to the base body, the base body having an outer surface on which a grooving thread is formed, which is suitable for grooving the internal thread into the wall of the borehole, characterized in that the grooving tool has a drive element at its leading end, which is suitable to interact with a force application device of the anchor or a part of the same, which is to be screwed into the borehole treated with the grooving tool, wherein the drive element is a a polygonal drive or a hexalobal drive, or wherein the drive element is formed by an element which is suitable for engaging with a force application device of the anchor, said force application device being formed as a notch. an anchor having a core section and a thread section, the core section having a core diameter d K and the thread section having an outer diameter d G, and a grooving tool for grooving an internal thread in the borehole, the grooving tool comprising the following: an at least approximately cylindrical or conical base body having a leading and a trailing end (12a, 12b), a force application device being provided, via which a torque for screwing the grooving tool into the borehole and for grooving the thread is transmitted to the base body, the base body having an outer surface on which a grooving thread is formed, which is suitable for grooving the internal thread into the wall of the borehole, characterized in that the grooving tool has a drive element at its leading end, which is suitable to interact with a force application device of the anchor or a part of the same, which is to be screwed into the borehole treated with the grooving tool, wherein the drive element is a a polygonal drive or a hexalobal drive, or wherein the drive element is formed by an element which is suitable for engaging with a force application device of the anchor, said force application device being formed as a notch. an at least approximately cylindrical or conical base body having a leading and a trailing end (12a, 12b), a force application device being provided, via which a torque for screwing the grooving tool into the borehole and for grooving the thread is transmitted to the base body, the base body having an outer surface on which a grooving thread is formed, which is suitable for grooving the internal thread into the wall of the borehole, characterized in that the grooving tool has a drive element at its leading end, which is suitable to interact with a force application device of the anchor or a part of the same, which is to be screwed into the borehole treated with the grooving tool, wherein the drive element is a a polygonal drive or a hexalobal drive, or wherein the drive element is formed by an element which is suitable for engaging with a force application device of the anchor, said force application device being formed as a notch.