Why would a person need a sputum microbial culture test?

Pneumonia. To attempt to identify the cause of bacterial pneumonia, especially when combined with a direct stain of the secretions looking for white blood cultures and bacteria on gram's stain.