As I understand it, the most effective way to build muscle is to lift heavy. High resistance with few reps builds muscle size, low resistance with many reps builds stamina, and moderate resistance with moderate reps (e.g. 5 sets of 5 reps) builds strength. Depending on your current fitness, pull-ups may or may not be a high resistance activity, but they are a very good all-around exercise that promotes functional strength.