The current wording of the "recommend a tool" close reason is like so (formatting omitted):
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
This close reason nicely covers the cases where a user wants us to provide a recommendation. But I feel it could become even more versatile if we amend it to also forbid providing comparisons of libraries/tools, another fairly common type of off-topic question.
Something like:
Questions asking us to recommend or find a tool, library or favorite off-site resource, or to provide comparisons between them, are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
The wording would have to be less awkward, but you get the general idea.
Comparison questions also attract opinionated responses, and possibly spam from companies promoting their products. Even worse, they tend to become outdated very quickly.