​After speculation that the ​Detroit Tigers had interest in free agent shortstop Jordy Mercer, the Tigers have reached an agreement with the veteran infielder, according to Jon Heyman of Fancred.

The terms of the deal are not known at this time.

​​The 32-year-old spent the first seven seasons of this career with the Pittsburgh Pirates. Mercer is known more for his glove than his bat, but in 117 games last season, Mercer slashed .251/.313/.381 with six home runs and 39 RBI.

The rebuilding Tigers needed a replacement for free agent ​Jose Iglesias. Mercer gives them a short-term option who can field his position and provide a league-average bat.

Detroit has already signed a couple veteran starters to stabilize the rotation, and the addition of Mercer continues the trend of stopgaps for the Tigers until their young players ascend to the big leagues in a couple years.