The printed timing window is “After you spend a token from your strategy pool.”
Magmus is the Muaat commander. Resolve the ability only in that window, and only if any other printed conditions are met. The commander must be unlocked.
Prophecy of Kings component; use the cited printing.