Excuse me, but isn't "undercover" redundant in "undercover spy"?.. I mean, all spies work undercover :-)
I mean if you break it down in the simplest way possible (for example what the public see on TV and call a spy), what they are seeing is various people who are:
-Handler
-Agent
-Agent of influence
-Analyst
-Mobile Surveillance Officer
-Tech officer
etc etc etc