Ah, what a wonderful thing is hindsight!
As I said earlier on in this thread, Gandalf did the best that he could in light of his circumstances and the information available to him at the time. But he was only human (or, rather, subject to human frailties). So, while he undoubtedly had great wisdom, he was not above making mistakes. He may well have been guilty of an error of judgment in not taking more concerted action to identify the nature of the Ring earlier, but I would not equate this with incomptence or inadequacy. Perhaps he would have done things differently with the benefit of hindsight, but he chose the course of action which seemed the best to him at the time.
And perhaps it was a good thing that he did. What would have happened had he discovered the true identity of the Ring much earlier? Would Bilbo have undertaken the Quest to destory it. Who would he have taken with him? Would he have succeeded to the extent that Frodo did? Possibly, given that Sauron was not as strong. But what of Saruman? Quite possibly he would have been present at the council to decide the fate of the Ring. If he had offered to take custody of it, or at least accompany the Ringbearer on the Quest, would any have opposed him at that time? Even were Gandalf also present on the Quest, would he (as Gandalf the Grey) have been able to protect the Ringbearer from Saruman? Probably not, given that Saruman was able to overpower him in Orthanc.
So perhaps things worked out for the best after all.
In any event, if failure to take an early course of action that would have prevented much suffering equates to incompetence, then Eru was the most incompetent of all. He was able to intervene to oppose Sauron, for example by "arranging" for Bilbo to find the Ring and, of course, by giving Gollum a little "nudge" at Sammath Naur. So why didn't he just intervene by having Sauron drop the Ring in the fire just after he had forged it? Talk about incompetence!