What is a word for a philosophy that only focuses on efficacy and what is useful?

I thought that utilitarian was the correct word but a friend informed me that utilitarianism wasn't the correct word for what I was trying to describe. What word am I looking for?


This definition of Pragmatism is one answer:

Pragmatism [is a] school of philosophy, dominant in the United States in the first quarter of the 20th century, based on the principle that the usefulness, workability, and practicality of ideas, policies, and proposals are the criteria of their merit.

[Britannica]

Obviously, the common noun has a lot of senses. As does utilitarianism.

There are various articles detailing claimed differences in these philosophies. Reddit has:

Utilitarianism, [on the other hand], is a kind of consequentialism that says we should maximize something like happiness, pleasure, or preference satisfaction.

So Utilitarianism prioritises the best perceived methodology to attain say human happiness, while Pragmatism aims for an even harder-to-define usefulness.