The Reds have agreed to terms with free agent right-hander Carlos Marmol on a minor league contract, reports Jon Heyman of CBS Sports (on Twitter). Marmol, a client of the Kinzer Management Group, was released by the Marlins on May 19.

The 31-year-old Marmol signed a low-risk, $1.25MM deal with Miami in the offseason but struggled by allowing 12 runs in 13 1/3 innings (8.10 ERA). He whiffed 14 hitters in that time, displaying his typically strong strikeout rate, but he also displayed his typical erratic nature by walking 10 batters, hitting a batter and throwing two wild pitches. His average fastball velocity of 93.7 mph was nearly as strong as it’s ever been, as at his peak he averaged 94.1 mph.

Marmol was an All-Star for the Cubs back in 2008 and saved 114 games for the team from 2008-12, but his command deteriorated after his first two full seasons in the Majors. He averaged a manageable 4.4 walks per nine innings in that time but has walked 6.8 hitters per nine innings since. His solid velocity and power slider have always allowed him to miss bats at an elite rate, but the Reds will need to do wonders with his command for him to reestablish himself as a reliable late-inning reliever.