If you cast Uncage the Menagerie with X as 0, you’ll search your library and shuffle it, but you won’t be able to find any cards.

Artwork
Loading artwork…
Uncage the Menagerie
Hour of Devastation · #137 · EN
Nonfoil—Foil—
Card rules
Search your library for up to X creature cards with different names that each have mana value X, reveal them, put them into your hand, then shuffle.
The destruction of Rhonas's monument released his collection upon the city.
Mythic · Illustrated by Simon Dominic
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
For cards in your library with X in their mana costs, X is considered to be 0.