If the engine is a 2 stroke, the end of the glow should be level with the end (combustion surface) of the cylinder head.
If it is a 4 stroke, the the end of the glow plug - the bit from the end of the thread to the glow tip - should stand proud of the head; if this would mean the plug end fouling the piston at TDC then recess the end of the plug in the head. This is because with a 4 stroke, the plug end needs to heat up and hold the heat twice as long as a 2 stroke plug does! Hope this helps,
Chris