The Goblin Army is a military organization that protects the Goblin City and its citizens as well as serves Jareth the Goblin King, and an antagonistic organization.
The Goblin Army served Jareth loyally and without question. They defend his kingdom and act as the land's police to all of it's Goblin inhabitants and enforce the will of their king as his word was law.