Metal is molded into a shape to make a tool. There are many different cutting methods, turning, shaping, drilling, broaching, just to name a few. There are also many ways to form metal, like, forging, shearing, drawing, and extrusion.
Some Moderns machines used in metal work include, chemical machining, laser machining, and electronic beam machining.
Fitness/ Coarseness of the surface: how brittle/ductile the metal is, the cutting tool you are using, how sharp the tool is, how fast you are cutting it, and the temperature of the metal