Prepare the Hand-Pounded Masala - Add ginger, garlic, green chilies, coriander seeds, cumin seeds, black peppercorns, and a pinch of salt to a mortar and pestle. Pound everything together into a coarse mixture. The masala doesn't need to be completely smooth.
Brown the Onions - Heat oil in a pan over medium heat. Add the finely chopped onion and cook until golden brown, stirring occasionally. Add a little salt and gently crush the softened onions with the back of a spoon or spatula.
Add the Hand-Pounded Masala - Add the freshly hand-pounded masala to the browned onions. Sauté for about 1 minute, stirring continuously until fragrant. Be careful not to burn the garlic or spices.
Cook the Tomato and Spice Masala - Add the tomato puree and mix well. Cover and cook for a few minutes over medium-low heat. Add turmeric powder, Kashmiri red chili powder, and adjust the salt to taste. Continue cooking for a few more minutes, stirring occasionally. Add a splash of water if the masala becomes too dry to prevent burning. Cook until the mixture thickens and the oil begins to separate.
Prepare the Gravy - Add ½ cup of water to the cooked masala and mix well. Cover and simmer over medium-low heat for a few minutes, stirring occasionally. Once the gravy thickens to your desired consistency, turn off the heat. Add more water if you prefer a thinner gravy.
Add the Boiled Eggs and Serve - When ready to serve, add the peeled, boiled eggs to the warm gravy and gently coat them with the masala. Serve warm with rice, naan, or roti.