Found this glass mushroom thing in a velvet-lined box at an estate sale. It has a metal connector at the bottom. Looks like part of a machine?

with those used in these devices, and the metal connector would have attached it to the machine’s wand. This connection would allow the electrical current to pass through the electrode, generating the characteristic violet glow.
5. How These Glass Electrodes Worked Inside Early Quack Medicine Devices
Violet ray machines operated by generating a high-voltage, low-amperage current, which was then transferred to the glass electrode via the metal connector. Once the electrical current entered the electrode, it would ionize the gas inside the glass, creating a violet glow and a soft buzzing sound.
The user would apply the glowing electrode to the skin, where the electrical discharge was believed to stimulate healing. Although there was little scientific evidence to support these claims, the devices gained a reputation for their supposed benefits, largely due to their novelty and the persuasive marketing of the time.
6. Common Electrode Shapes and Why the “Mushroom”