The test is typically ordered when a patient presents symptoms suggestive of meningitis, such as high fever, severe headache, neck stiffness, nausea, vomiting, sensitivity to light, or changes in mental status.