Both are good but if you can only have one I recommend Tome of Beasts. It has many more monsters, and the monsters tend to be more challenging given their CR, making their CR more reliable.
Also, Tome of Beasts probably has more mid-high to high CR monsters than the MM, 5th edition foes, and...