Take 2 tomatoes and 1 tbsp tamarind in a clay pot or deep vessel. Add 2 cups water and boil for 1–2 minutes until the tomato skins start peeling.
Switch off the heat, allow the mixture to cool slightly and mash the tomatoes well along with the tamarind. Remove the tamarind if you prefer less sourness.
Add turmeric powder, rasam powder, salt and asafoetida. Mix well and add another 1 cup water.
In a mixer jar, add the garlic pod with skin, green chillies, curry leaves, cumin seeds, peppercorns, fenugreek seeds, coriander seeds and chana dal.
Grind coarsely using just 1–2 pulses. Do not make a smooth paste.
Heat ghee in a tempering pan. Add mustard seeds and allow them to crackle.
Add the coarsely crushed spice mixture and fry for a few seconds until aromatic.
Heat the prepared rasam mixture on the stove. Before it comes to a boil, add the ghee tempering and crushed spices. Mix well.
Once the rasam starts foaming, switch off the heat. Do not boil for a long time.
Add chopped coriander leaves, mix gently and serve hot with rice.