Catalysis of the reaction: UDP-glucose + glycogenin = UDP + glucosylglycogenin. This first reaction is a self glucosylation. Further UDP-glucose goups are added to the (n) group of glycogenin until a length of about 5-13 residues.
UDP-glucose:glycogenin glucosyltransferase activity