The Giants have agreed to terms with right-handed reliever Ramon Ramirez according to CBSSports.com's Jon Heyman.

Ramirez, 31, recorded a 4.24 ERA and 1.5 K/BB in 63.2 innings with the Mets in 2012. He pitched with the Giants in 2010 and 2011, recording a composite 2.07 ERA in 91 games (85 innings).