Dry roast all the whole masalas on a low flame in a pan for 3-4 mins or until aromatic
After 3-4 mins of low flame roasting remove it from the heat and let it cool and Grind it to a fine powder once cool
Dry roast the coconut on a low flame in the same pan until aromatic and golden brown
Heat 2-3 tbsp of Oil in a Kadhai
Add mustard seeds and let it crackle on medium flame
Add chopped garlic & green chillies in the oil and fry them on low flame
Then goes in curry leaves and chopped onions, Fry them until slightly golden brown
Add salt as per taste and mix it well and fry the onions for a while
Once the onions are golden brown add turmeric and garam masala powder and fry until the raw smelll goes on a low flame
Add the grounded masala powder to the onions
Fry it for a while on low flame
Then add 1/2 cup of water
Let it boil on medium flame
Now squeeze in the tamarind pulp and mix it well and let it boil on medium flame
To this now add Squids and Chopped Coriander leaves and mix it well and let it boil on high flame for 1 minute
Once it starts boiling, cover it with a lid and cook for 5 mins on a low flame
Meanwhile grind the roasted coconut along with some water to a fine paste
Check the squids after 5 mins, Squids doesnt take long to cook, if you overcook then it will be rubbery
Add the grounded coconut paste to the gravy and mix well and let it boil. Check the seasoning and add salt if required
Garnish it with some chopped coriander leaves
Serve it hot with rice and rotis