Preheat the oven to 350ºF. Spray a 10-ounce Charlotte mold or an 8-ounce ceramic ovenproof cup with nonstick spray.
Toast the bread and cut into two 3-inch rounds. Place one toast round in the bottom of the cup, followed by half of the ham, half of the grits, and a pinch each of the Parmesan, cheddar, and herbs.
Add another layer of toast, followed by the remaining ham and grits, and a pinch each of the Parmesan and cheddar.
Crack the eggs over the top, season with salt and pepper, and sprinkle with the remaining herbs and cheeses.
Place the cup on a small baking sheet and bake until the cheese is melted and bubbly and the visible egg whites are just cooked, about 8 minutes. If you like your eggs completely set and hard, bake for 12 to 14 minutes.
Serve immediately.
