Preheat the oven to 375°F (190°C). Arrange the tomatoes and whole garlic on a baking tray. Drizzle olive oil over the tomatoes, followed by the garlic, salt, and ground black pepper. Sprinkle the chopped parsley over the tomatoes.
Roast in the oven for 20 minutes. Serve warm.