Dan Graziano breaks down some of the best value contracts in the NFL, including Patrick Mahomes' deal with the Chiefs. (1:13)

Graziano: Best value for NFL teams is good QBs on rookie deals (1:13)

KANSAS CITY, Mo. -- The Kansas City Chiefs agreed to contract terms with veteran quarterback Matt Moore, according to a source, after learning that backup Chad Henne will need surgery for a broken right ankle.

Moore, who hasn't played in an NFL game since 2017 with the Miami Dolphins, will serve as the top backup to Patrick Mahomes.

The 35-year-old played 10 seasons with the Dolphins and Carolina Panthers, starting 30 games and throwing 45 touchdown passes and 36 interceptions. He sat out last season.

The Chiefs have two developmental quarterbacks on their roster, Chase Litton and Kyle Shurmur, but didn't feel either player was one snap away from being an NFL starter.

Litton joined the Chiefs last season as an undrafted free agent from Marshall and spent the season on the practice squad. Shurmur signed this year as an undrafted free agent from Vanderbilt.

"You see some good, you see some bad,'' offensive coordinator Eric Bieniemy said of the preseason play of Litton and Shurmur.

Henne is scheduled for surgery on Tuesday in Green Bay, Wisconsin.

The Chiefs also lost backup defensive end Breeland Speaks for an extended period. He will have surgery for an MCL sprain and meniscus damage in his right knee.