In a pan heat oil, add mustard seeds, cloves and cinnamon pieces. When mustard seeds crackles add asafoetida, garlic cloves, green chillies and chopped onion. Saute for sometimes. Add chopped tomato and saute until tomato softens. Let the mixture cool down and then grind in mixer grinder and make smooth paste.