Adenosine triphosphate acts as both a competitive antagonist and a positive allosteric modulator at recombinant N-methyl-D-aspartate receptors.