(e.g. having a spell ward with the resurrection spell stored so that the party can bring the caster back to life)
The line about a glyph doing harm was removed in the PHB errata.
Definition of Ward: "to avert, repel, or turn aside (danger, harm, an attack, an assailant, etc.) (usually followed by off):"
"When you cast this spell, you inscribe a glyph that harms other creatures".
Why would this need more definition? Feel free to house rule, but it's incredibly clear. This is a spell to set harmful traps, not to store buffs.
RAW, i do not think this is possible. I still have problems identifying "dead something" as if meaning "creature" or "object". If the latter, as it would make sense consider a corpse as, it would be impossible to cast Resurrection in a Glyph of Warding.
You do harm to other creatures. Buff to you from the glyph causes more harm to other creatures, thereby glyph causes harm.
I was looking for them to define "harm" not "ward. Because there is certainly room for debate. Could you store the spell Slow in a ward? Yes, because it definitely negatively influences the target. No, because it doesn't inflict injury.
It says that you "touch a dead creature . . ." So, I'm picturing you bringing the dead creature, and while touching it, activating the spell glyph.
I guess a DM may rule that the Glyph can only target whomever triggered the glyph, in which case I would make the trigger be that whenever a dead creature touches the glyph (or narrow to humanoid, human, elf, etc.)
Maybe I'm not reading the rules carefully enough, but I'm not seeing why this would not work with the RAW.

(Dungeons & Dragons)
Rulebook featuring "high magic" options, including a host of new spells.