Neither. No current is floating through the electrode as it is only used as a potential probe. The potential of the glass electrode is pH dependent and if compared to a electrode that is not pH dependent, a pH potential difference can be read out. This potential difference can then be related to a known pH, i.e. calibration.
Anodes and cathods are only defined regarding the direction of the current that floats through them. If no current is floating, the electrode cannot be an anode or cathode...
Terms anode and cathode are related to the oxidationand reduction reactions. At glass electrode there are no red-ox reactions and its mechanism is based on the ion exchange reaction. There is very low current circulating in the cuircuit (of the order of pA) but without red-ox reaction at this electrode.