Heat oil in a pan. add black gram and sauté until they turn light brown. Now add broken dry chili, cloves, black pepper, ginger and sauté until the chili change color.
Now add chopped tomato, salt, Asafoetida powder and sauté in low flame until the tomato becomes soft (i.e. 7 to 8 minutes).
Cool down the sautéed tomato and grind them into a thick fine paste. add little water if needed.
In a pan heat oil for tempering. Now add mustard seeds. Once mustard seeds stop spattering add curry leaves, fenugreek seeds, dry chili and sauté until the curry leaves becomes crisp.
Now add the ground tomato paste and sauté in low flame for 4 to 5 minutes. Check for salt if needed add more and mix well.