Career
Glavica made his debut for NK Varaždin in 2009. In 2011 during the 2011 Europa League Qualification Round Glavica scored an important first-leg goal against Andorran team Lusitanos. In August 2011 he terminated his contract with Varaždin due to unpaid wages and signed for NK Slaven Belupo.
In 2015 he signed for SV Horn in the Erste Liga.