It acts as a ligand for lithium. it dissociates lithium from carbon compounds and helps make the anion a bit more potent.
PS, can I just say that it's almost dangerous that wikipedia says HMPA is 'mildly toxic.' DO NOT get HMPA on you. Be VERY careful handling HMPA.