The way I personally work is I like to write what I know, what I feel, and also where I am.
You're just sort of searching for this 'thing' and sometimes you get it and sometimes you don't. All music is imperfect, but in jazz since you're improvising, at least the way I play, I'm trying to follow my train of thought in a solo.