Catalysis of the reaction: 2,4-dihydroxy-7-methoxy-2H-1,4-benzoxazin-3(4H)-one + UDP-D-glucose = 2,4-dihydroxy-7-methoxy-2H-1,4-benzoxazin-3(4H)-one 2-D-glucoside + UDP.
UDP-glucose:2,4-dihydroxy-7-methoxy-2H-1,4-benzoxazin-3(4H)-one 2-D-glucosyltransferase activity