A synovial fluid bacterial culture and gram stain test is ordered when someone has symptoms of joint inflammation or infection such as joint pain, swelling, redness, warmth, and stiffness. It is used to help diagnose the cause of the symptoms and determine if there is a bacterial infection present in the joint.