Yes it is a tool. It appears to be a slide hammer puller of some type. These were made for various jobs such as pulling dents in sheet on cars, removing brake drums and axles and other stuff that doesn't come to mind.
Is yours marked? It is a little different than the ones I remember seeing.
Mike