LSD works by causing increased activity on 5ht receptors in the brain, hence it's a 5ht agonist.

toxioligically it's extremely safe. 500 micrograms is a very high dose of LSD and the lethal dose is about 30 times that.