Gap costs
For blastp it is possible to specify gap cost for the chosen substitution matrix. There is only a limited number of options for these parameters. The open gap cost is the price of introducing gaps in the alignment, and extension gap cost is the price of every extension past the initial opening gap. Increasing the gap costs will result in alignments with fewer gaps.