“The IMF was originally established for exactly this purpose”
Yes, as inspired by such luminaries as Lord Keynes. Which is precisely why it sucks.
Actually, the American Secretary of the Treasury, a Mr white I think, was the primary developer. Keynes was there but mostly to lend a diverse flavor to the process.