The Pirates and free agent shortstop Clint Barmes agreed to a one-year, $2 million deal Thursday. Barmes, who is mostly valued for his glove, hit .211 with a .558 OPS in 304 at-bats for the Pirates last year, splitting time at shortstop with Jordy Mercer.