Maintenance of tools