SEATTLE (AP) — Right-hander Ryan Cook has agreed to a one-year contract with the Seattle Mariners, who added another arm to their overhauled bullpen.

Cook's deal, which is not guaranteed, calls for a $1.1 million salary while in the majors and $300,000 while in the minors. He can earn another $300,000 in performance bonuses for games pitched in the majors: $50,000 each for 40 and 50, and $100,000 apiece for 60 and 70.

Cook was an All-Star in 2012 with Oakland when he went 6-2 with a 2.09 ERA in 71 appearances. It was the start of a strong three-year stretch for Cook when he was an integral part of Oakland's bullpen.

But the 29-year-old fell off in 2015 splitting his time with Oakland and Boston. He made

nine relief appearances between the two clubs and had an 18.69 ERA and spent most of the season at Triple-A.

Seattle general manager Jerry Dipoto says the addition of Cook enhances the Mariners' bullpen depth.

More From 1460 ESPN