T-Mac was an amazing offensive player. Could shoot from the outside, could create his own shot any time he wanted, could get to the foul line any time he wanted, and could even do a bit of offensive rebounding when he wanted. But what he never seemed to want to do was play good defense. For that reason, I have a problem with him getting into the Hall. But I don't vote, and I bet he'll get in.
He was one of the 2-3 best players at his position for several seasons, and arguably the best offensive player at his position over that time. But because his defense was always lacking (and his teams in general had flaws), McGrady could never win a playoff series.
Injuries were a factor, and that's always tough to figure into discussions about historic greatness, the Hall of Fame, etc. But I have little doubt that if Yao and T-Mac could've stayed healthy, those Rockets' teams could've won a title or two.