Agent Uma was sent from 2049 to 2010 to stop Grim Gagagoofy aka Goofy and the BUbblebrains from creating a renewable energy source called Purple Rain. Grim Gagagoofy would have used it to power up his army to conquer the world.
Due to certain situations it turned out that her information was flawed. Pete went by the name Grim Gagagoofy when he was accidentally hypnotized. With the help Mickey and Goofy they manage to stop Pete and gave recipe Scrooge Mcduck and tt created better future afterward