I never refused an autograph never refused to buy someone a drink. Now I'm learning to say I've got other things on instead of doing it and wondering why.
Even if you're improvising the fact that beforehand you know certain things will work helps you make those improvisations successful. It really helps to have a certain amount of knowledge about musical structure.