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

Ramirez, 31, had 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 and had a composite 2.07 ERA in 91 games (85 innings).

Ramirez was dealt to the Mets before the 2012 season, along with Andres Torres, in exchange for Angel Pagan. Ramirez made $2.65 million in 2012.

No ad available

For more up-to-the-minute news and analysis on the latest rumors from bloggers Chris CwikJack Moore and R.J. White, follow @MLBRumorsCBS.