Temple Layout - This temple is situated on the southern bank of the Kollidam River, roughly two kilometers from its confluence with the sea. Its importance is attributed to the worship of the deity by Indira, which led to its naming as Mahendrapalli. The temple, oriented towards the east, features a simple three-tiered gopuram. Nearby lies Mahendra Theertham, a significant water body. Upon entering the temple and walking around the prakaram, visitors can find sannidhis for various deities, including Vinayaka, Kasi Vishwanathar, Mahavishnu accompanied by Sreedevi and Bhoodevi, Shivalinga, Bhairavar, Surya, and Chandra. After completing the circumambulation and reaching the mandap, one can observe the south-facing sannidhi of the female deity, Goddess Vadivambikai, depicted in a standing posture. Further inside, to the right, is the Nataraja Sabha where Nataraja is along with Sivakami and Manickavasakar. Directly opposite the mandap is the east-facing sannidhi of the main deity, which is illuminated by sunlight on certain days during the Tamil month of Panguni. It is noteworthy that this temple lacks a Navagraha sannidhi, although Ragu and Ketu are positioned alongside Vinayaka in his dedicated sannidhi.
The verses in the pathikam by Tirugyanasambandhar suggest that the deities Surya, Chandra, Brahma, and Indra revered the god of this location. It is believed that worshipping the deity Tirumeniazhagar for a consecutive 48 days, after taking a bath in 'Mahendra theertham' can heal even the most incurable ailments. The sacred tree of this site is identified as 'vilvam.'
The saint poet Arunagirinathar has sung in praise of Muruga here. One song is in Tirupughazh for Tirumayendiram. In this temple, Muruga appears beautiful as Singaravelan in a standing poture, with 2 pairs of hands, along with his two consorts Valli and Deivanai.