“This thing was given to my grandmother by her friend. I have no idea what it is.”
It’s a traditional Japanese smoking pipe called kiseru. It is used to smoke finely shredded tobacco.