Take a blender add tomato,onion,garlic pods,whole red chilly and 4 - 5 curry leaves and blend it.
Heat oil in a pan add asafoetida,cumin seeds and black mustard seeds to crackle.
Now add urad dal and chana dal and saute for one mins and add curry leaves
Add tomato paste and cook for five mins.
Add sugar and salt and cook for two mins.
Serve chilled with idly,dosa and uttapam.