It would make a great city bike. Already has the fenders. All you need are some slick tires and you're set. Redo the bearings and cables, I'm sure those need attention. As far as the rear gear teeth, they are supposed to be that way. They are a "twist tooth" design introduced by Shimano (?) to improve shifting.
Those XT shifters might be worth more than you paid for the whole bike...