Artificial intelligence detects tool problems early