The therapeutic effect of AMP and MPH in ADHD is consistent with the finding of abnormalities in the catecholamine system in individuals with ADHD (e.g., Volkow et al., 2007). Both AMP and MPH exert their effects on cognition primarily by increasing levels of catecholamines in prefrontal cortex and the cortical and subcortical regions projecting to it, and this mechanism is responsible for improving cognition and behavior in ADHD (Pliszka, 2005; Wilens, 2006).
More than once I have seen results indicating that high-IQ types benefit the least from random nootropics; nutritional deficits are the premier example, because high-IQ types almost by definition suffer from no major deficiencies like iodine. But a stimulant modafinil may be another such nootropic (see Cognitive effects of modafinil in student volunteers may depend on IQ, Randall et al 2005), which mentions:

Racetams, specifically Piracetam, an ingredient popular in over-the-counter nootropics, are synthetic stimulants designed to improve brain function. Patel notes Piracetam is the granddaddy of all racetams, and the term “nootropic” was originally coined to describe its effects. However, despite its popularity and how long it’s been around and in use, researchers don’t know what its mechanism of action is. Patel explained that the the most prominent hypothesis suggests Piracetam enhances neuronal function by increasing membrane fluidity in the brain, but that hasn’t been confirmed yet. And Patel elaborated that most studies on Piracetam aren’t done with the target market for nootropics in mind, the young professional:

Nootropics (/noʊ.əˈtrɒpɪks/ noh-ə-TROP-iks) (colloquial: smart drugs and cognitive enhancers) are drugs, supplements, and other substances that may improve cognitive function, particularly executive functions, memory, creativity, or motivation, in healthy individuals.[1] While many substances are purported to improve cognition, research is at a preliminary stage as of 2018, and the effects of the majority of these agents are not fully determined.