A writer needs to figure out what he/she wants in an agent, and spend as much time possible trying to figure out who that is, rather than just shooting blind.
"Once you find an agent who likes your work, you've already done your homework and know a lot about them....""( Link w/more). ``"