Add a routine for checking tool availability