J.R. S. answered 03/14/19
Ph.D. in Biochemistry--University Professor--Chemistry Tutor
Sumatriptan's main mechanism of action is not as a serotonin uptake inhibitor. There are much more effective uptkake blockers of 5HT that are not effective in relieving migraines. The main action of sumatriptan is as a 5HT receptor agonist and as an inhibitor of CGRP release (as a result of stimulation of the 5HT1B/1D receptor).
Now, to answer your question about taking tryptophan to treat migraines. This is not likely to be effective for the following reasons. First, tryptophan entry into the brain is compromised somewhat by the blood-brain-barrier. Certainly, some tryptophan enter the brain, but the rate limiting step in 5HT synthesis is tryptophan hydroxylation, so taking 5-hydroxytryptophan would be more effective. There is much more that I could say on the subject, but I'll leave it there.