Hi thanks for your question.
The swollen painful glands in your neck near collar bone most probably are inflamed cervical lymph
nodes. Lymph nodes get enlarged and tender whenever there is infection in their vicinity. Throat is the are most commonly drained by cervical lymph nodes and most probably your having infection in throat. To determine the etiology of these nodes you need to get ultrasound
neck done, this can be supplemented with FNAC of these lymph nodes to clinch the diagnosis. Further treatment depends upon Result of these two tests
Hope this answers your question