I'm no expert but I believe Gandalf was actually too powerful to do anything. Wasn't the main reason why Gandalf couldn't just freaking carry the ring himself because it would have made him evil and unstoppable, so they needed a stupid ass hobbit to carry it so there was no danger of him messing things up too much?