added tool diameter validation