Yukihito Taguchi-USA TODAY Sports

The Arizona Diamondbacks signed Scott McGough to a two-year deal on Thursday after the right-hander spent the past four years playing in Japan.

There's a mutual option for 2025.

The team didn't divulge financials, but Fansided reported the deal is worth $6.25 million and the option year is $4 million.

In a corresponding move, the Diamondbacks designated LHP Tyler Gilbert for assignment.

McGough, 33, has just 6 2/3 innings in major league baseball, that coming in 2015 with the Miami Marlins.

McGough went 15-8 with 80 saves and a 2.94 ERA in four seasons with the Yakult Swallows of Nippon Professional Baseball. McGough notched personal bests in ERA (2.35) and saves (38) this past season.

Gilbert, who turns 29 this month, went 0-3 with a 5.24 ERA in eight games (seven starts) for Arizona last season.

More must-reads:

TODAY'S BEST
Yankees star Juan Soto has eyebrow-raising comments on upcoming free agency
Draymond Green shares tone-deaf take on fines from NBA
USWNT coach Emma Hayes instilling right mindset ahead of Olympics
Winnipeg Jets officially name head coach
Injury bug bites Orioles again as another starting pitcher lands on IL
Yankees' Hal Steinbrenner under fire over Juan Soto comments
Lonzo Ball shares eye-opening details about his knee injury
Jets QB Aaron Rodgers insists focus has been football, not politics
Hurricanes general manager steps down, leaving front office in flux
Travis Kelce echoes Patrick Mahomes in response to controversial kicker
Cowboys QB Trey Lance details how he has changed since 49ers stint
Historic NCAA settlement reached allowing schools to pay players
Celtics dominate Pacers in Game 2, take 2-0 ECF lead
Cavaliers fire head coach J.B. Bickerstaff
Connor McDavid's 2OT goal gives Oilers win over Stars in Game 1
Rob Manfred hints at big change coming to MLB
Scottie Scheffler arrest case takes another weird turn with new video
QB Russell Wilson believes Steelers can 'do something special'
Pacers star suffers injury in ugly Game 2 loss
Watch: Jaylen Brown's big second quarter lifts Celtics to halftime lead