In the bowl of a food processor, whip ricotta with a pinch of salt and pepper until light and fluffy. Set aside.
Heat a skillet over medium heat. Add 2 tablespoons olive oil. Crush two cloves garlic with the side of a knife or a heavy jar and add to pan. Once the garlic is starting to sizzle slightly, add one slice of bread and cook until golden brown and crisp on both sides. Repeat with remaining slice of bread.
Halve (or quarter if large) cherry tomatoes and add to a medium bowl. Peel and finely grate the remaining clove garlic over tomatoes, then toss with remaining olive oil and a generous pinch of salt and pepper.
Transfer the whipped ricotta to a pastry bag and pipe over the toasted bread. Spoon tomato mixture over the cheese and garnish with torn basil leaves.