There only existed two bombs at the time. Had the bombs been dropped as a show of force, it is very likely the US and Japan would have to suffer through a costly invasion anyway.
[1] https://en.wikipedia.org/wiki/Demon_core
[2] https://www.atomicheritage.org/history/timeline search for 1945 July 23 entry.
The US built a massive manufacturing pipeline to make nuclear weapons. Little boy was a once off. Fat man was basically a functional prototype. And the manufacturing pipeline was running and kept running after the war. How much weapons grade plutonium they had left over after they bombed Nagasaki is kind of a quibble.
Why would a demonstration need to be told the japanese in advance?
And a dud could have also happened to the one used on hiroshima.
A shock effect could have been achieved by a bomb detonated close to Tokyo. And with papers dropped, saying, this will happen to all your cities, soon.
(a city with military production, sure sure, but they were choosen not because of military value, but because they were relatively undamaged, so the effect of the bombs could be studied. Concern for loss of japan civilian live was never an issue)