SAN DIEGO — A mostly dreary winter meetings lacking spectacular swaps will be remembered as the Scott Boras show.

Baseball's most prominent agent dominated each of the three full days of meetings with a nine-figure contract, deals for Stephen Strasburg, Gerrit Cole and Anthony Rendon that totalled $814 million.

Just two trades were announced: The San Francisco Giants acquired shortstop Zack Cozart and infield prospect Will Wilson from the Los Angeles Angels for a player to be named or cash, and the Chicago White Sox obtained outfielder Nomar Mazara from the Texas Rangers for outfield prospect Steele Walker.

"I think it's hard to say that there hasn't been a trend," new Boston Red Sox chief baseball officer Chaim Bloom said. "It's important not to get too focused on artificial timetables. You want to be prepared to do something when you think it's going to help you, but you don't want to force anything."

The podium and dais remained in nearly pristine condition, hosting just one player announcement: Washington's $245 million, seven-year contract on Monday to retain Strasburg, the World Series MVP.

Boras' other big deals remained pending successful physicals as executives and agents cleared out Thursday: Cole's $324 million, nine-year agreement to leave Houston for the New York Yankees and third baseman Anthony Rendon's $245 million, seven-year contract to depart the Nationals for the Los Angeles Angels.

Just 25 of the 168 players who exercised their right to become major league free agents last month had finalized deals when the meetings ended Thursday, slightly ahead of the 21 of 164 when last year's session ended in Las Vegas. The pace of talks does seem faster.

"It feels to me like there's going to be continued action in free agency in the days to come and early next week," Chicago Cubs general manager Jed Hoyer said. "It seems like there's probably some free agent deals that are closer to fruition. They're not ready to be announced yet, but there's a lot of activity. I think as those things get finalized, it will clarify the trade market."

Boras said four straight years of declining major league attendance sparked teams to be more aggressive in an effort to excite fan bases and sell tickets.

"It's a more competitive environment. More teams are trying to win," New York Mets general manager Brodie Van Wagenen said.

Among the final deals reached on the final day of the meetings:

— former AL Cy Young Award winner Rick Porcello and the New York Mets agreed to a $10 million, one-year contract.

— outfielder Brett Gardner stayed with the New York Yankees after the best offensive season of his career, agreeing to a one-year contract that guarantees $12.5 million.

— catcher Austin Romine left the Yankees and agreed to a $4.15 million, one-year contract with Detroit.

People with knowledge of the deals revealed them to The Associated Press on condition of anonymity because the agreements had not been announced.

Top free agents remaining on the market include pitchers Hyun-Jin Ryu, Madison Bumgarner, Dallas Keuchel, Will Harris and Julio Teheran, third baseman Josh Donaldson and outfielders Marcell Ozuna and Nick Castellanos.

Also on the final day of the meetings, Major League Baseball said it will start testing for opioids and cocaine, but only players who do not co-operate with their treatment plans will be subject to discipline.

Marijuana will be removed from the list of drugs of abuse and will be treated the same as alcohol as part of changes announced to the joint drug agreement between MLB and the players' association. In addition, suspensions for marijuana use will be dropped from the minor league drug program.

Opioids are classified as a drug of abuse under the joint big league program, which began in late 2002 and until now has limited testing to performance-enhancing substances and banned stimulants.

Talks of adding testing for opioids began following the death of Los Angeles Angels pitcher Tyler Skaggs, who was found dead in his hotel room in the Dallas area on July 1 before the start of a series against Texas. A medical examiner's office said the 27-year-old died after choking on his vomit and with a toxic mix of alcohol and the painkillers fentanyl and oxycodone in his body.

———

AP Sports Writer Jake Seiner contributed to this report.

———

More AP MLB: https://apnews.com/MLB and https://twitter.com/AP_Sports