The Angels bought minor ball catcher Logan O’Hoppe in exchange for Marsh while the Cubs bought junior pitcher Ben Brown for Robertson.
Robertson, 37, is in the midst of a revival year. He only missed 23 shots in 40⅓ innings while amassing 14 saves and an ERA of 2.23 for Cubs under 500. He had experience with closes and setups, so the Phillies could use it. use him in one of two roles.
Marsh will likely take the center stage for the Phillies, who have been looking for an answer to the position for most of the season.
Marsh, 24, is hitting .226 with eight home runs and 37 RBIs this season.
Robertson previously played for the Phillies in 2019, when he had a 0-1 record and 5.40 ERA in 6⅔ innings before injuring his elbow.
O’Hoppe, 22, is hitting the .269 mark with 15 home runs and 45 RBIs at Double-A Reading this season.
Brown, 22, is 3-5 with an ERA of 3.08 in 16 appearances (15 starts) for the Class A Jersey Shore.
The 32-year-old Familia, signed by the Phillies for the season, has an ERA of 6.09 in 34 plays this season. Herrera, meanwhile, is hitting .238 with five home runs and 21 RBIs this season.
Phillies (55-47) currently hold NL’s last wild card position with a lead over St. Louis Cardinals one game.
ESPN’s Jesse Rogers contributed to this report.