If the recipe is to be strained, like a stock or a soup, just smash the unpeeled garlic cloves
to break them open, so the flavor will be released, and toss them in the pot, peel and all.
If the preparation is not strained, then I think the recipe should be more specific.