2003 Chevrolet Tahoe - Works when I hit it with a hammer

My starter is getting weak. I find if I hit the starter with a hammer, It will work. But for how long?

I’ll get out my crystal ball again… eeny meeny chili beanie, the sprits are about to speak…

And they say…

It will last 4.345 more starts.

Totally smart alec answer but the actual correct answer is; There is no way to tell. It will work until it doesn’t.

I prefer my magic 8 ball. It said “Ask Again”.