Glutamine excitatory or inhbitory?

Both, indirectly. Glutamine is a major precursor of glutamate, the most potent excitatory neurotransmitter, & of gaba (gamma-aminobutyric acid), the most potent inhibitory neurotransmitter in mammalian brains.