Leakage in Secure Two party Computation
Secure multiparty computation guarantees the nothing whatsoever is revealed by the process of computation. It does not say anything about the function. As you correctly point out, there are some functions that reveal a lot and shouldn't be computed, but this analysis is quite out of the scope of secure computation. The question of whether it's "recommended" depends on the application and the choices you may or may not have. You may, for example, want to use secure computation to compute a differentially private version of the function.