The First Minister said his party needs to “strengthen its electoral position” ahead of four by-elections in Glasgow in the coming weeks.