Q and Mickey Mouse Clubhouse
Rewatching Thunderball, I was struck by how each gadget presented to Bond by Q had a role in the story. Q doesn't provide any superfluous gadgets. Same thing in From Russia With Love. How prescient Q must be to know exactly what's going to be needed (and what won't be necessary). He must have gotten an advance copy of the screenplay.
This reminded me of Mickey Mouse Clubhouse. In each episode the extension of the Mousekadoer computer named Toodles presents four Mouseketools. Each and every Mouseketool will then be used in the resolution of the plot. Was Toodles inspired by Q?