Just thought I'd cut in there because Glyph is incredibly situational. It's easy to overlook the part of the spell that says:
If the surface or object is moved more than 10 feet from where you cast this spell, the glyph is broken, and the spell ends without being triggered.
Which means either...