Which is more important for classifying microbial communities: who's there or what they can do?

Which is more important for classifying microbial communities: who's there or what they can do?