Rinse the medium-grain rice in cold water until the water runs clear, then soak for 30 minutes and drain well.
In a small bowl, combine ground allspice, ground cumin, ground turmeric, ground cinnamon, ground black pepper, and salt to make a spice mix; set aside.
Warm 2 tbsp vegetable oil in a large heavy pot over medium heat. Add the onion and cook until translucent, 3β4 minutes. Add the bone-in chicken pieces and sear lightly until no longer pink on the outside, 4β5 minutes. Pour in the water, add the cinnamon stick, cardamom pods, and bay leaves, and stir in 2 tsp of the spice mix. Bring to a boil, skim any foam, then reduce heat and simmer until the chicken is just tender, 25β30 minutes. Strain, reserving the broth; discard the aromatics and set the chicken aside.
Prepare the vegetables: cut the eggplant into 0.5-inch rounds, break the cauliflower into medium florets, and peel and slice the potatoes 0.5 inch thick. In a wide skillet, heat about 0.75 cup of the remaining oil over medium-high (about 350Β°F). Fry the rounds until golden on both sides, 3β4 minutes per side; drain on paper towels. Fry the florets until golden at the edges, 4β5 minutes; drain. Fry the slices until lightly golden, 3β4 minutes per side; drain.
Toss the drained rice with the remaining spice mix until evenly coated.
Slice the tomatoes 0.5 inch thick and line the bottom of a clean 5- to 6-quart heavy pot with them in a tight single layer. Arrange the chicken in an even layer over the base, then add the fried vegetables in an even layer. Spread the spiced rice evenly over the top and gently level it without compressing.
Ladle enough reserved hot broth over the surface to cover the rice by about 0.5 inch, typically 3.5β4 cups. Bring to a gentle boil over medium-high, then reduce heat to low, cover tightly, and cook until the liquid is absorbed and the rice is tender with small steam holes at the surface, 30β40 minutes. If the top still feels firm, drizzle in a few tablespoons of hot broth, cover, and cook 5 minutes more.
Remove from heat and rest, covered, 15 minutes. Run a thin spatula around the sides, invert a large platter over the pot, and flip to unmold. Let stand 1β2 minutes, then lift off the pot. Scatter the parsley, slivered almonds, and pine nuts over the top and serve immediately.