Gandalf, White Rider 

Legendary Creature — Avatar Wizard
Vigilance
Whenever you cast a spell, creatures you control get +1/+0 until end of turn. Scry 1.
When Gandalf dies, you may put it into its owner's library fifth from the top.
click a line to search just that ability, click more to combine them
Cards that do something similar expected a card that isn't here?
Reports become test cases the matcher is graded against before an update ships. Delvefall isn't a chatbot guessing, it compares the printed rules text of every card with plain math, and examples like yours decide which differences should count.
God-Eternal Rhonas 98%
$5.05#4880
"When this card dies or is put into exile from the battlefield, you may put it into its owner's library third from the top."
God-Eternal Kefnet 98%
$3.52#8029
"When this card dies or is put into exile from the battlefield, you may put it into its owner's library third from the top."
God-Eternal Oketra 98%
$1.96#2452
"When this card dies or is put into exile from the battlefield, you may put it into its owner's library third from the top."
God-Eternal Bontu 98%
$0.35#3596
"When this card dies or is put into exile from the battlefield, you may put it into its owner's library third from the top."
Ilharg, the Raze-Boar 98%
$12.03#2407
"When this card dies or is put into exile from the battlefield, you may put it into its owner's library third from the top."
Tobias, Doomed Conqueror 91%
$0.07#25384
"When this card dies, for each nontoken creature you controlled that died this turn, create a 2/2 black Zombie creature token."
Evereth, Viceroy of Plunder 89%
$2.76#7880
"When this card dies, you may pay {1}{B/R}. When you do, this card deals damage equal to its power to each opponent."
Soulblade Djinn 88%
$0.28#20073
"Whenever you cast a noncreature spell, creatures you control get +1/+1 until end of turn."
Strongarm Monk 88%
$0.07#22262
"Whenever you cast a noncreature spell, creatures you control get +1/+1 until end of turn."
Nevinyrral, Urborg Tyrant 87%
$0.34#15190
"When this card dies, you may pay {1}. When you do, destroy all artifacts, creatures, and enchantments."
The Locust God 84%
$8.61#1681
"When this card dies, return it to its owner's hand at the beginning of the next end step."
The Scarab God 84%
$5.19#1738
"When this card dies, return it to its owner's hand at the beginning of the next end step."
The Scorpion God 84%
$0.27#5366
"When this card dies, return it to its owner's hand at the beginning of the next end step."
The Spot, Living Portal 84%
$0.19#19054
"When this card dies, put him on the bottom of his owner's library. If you do, return the exiled cards to their owners' hands."
Ojer Taq, Deepest Foundation // Temple of Civilization 84%
$27.99#860
"When this card dies, return it to the battlefield tapped and transformed under its owner's control."
+1 more matching line
Aclazotz, Deepest Betrayal // Temple of the Dead 84%
$10.00#2491
"When this card dies, return it to the battlefield tapped and transformed under its owner's control."
Ojer Kaslem, Deepest Growth // Temple of Cultivation 84%
$6.16#1966
"When this card dies, return it to the battlefield tapped and transformed under its owner's control."
Ojer Axonil, Deepest Might // Temple of Power 84%
$22.73#1476
"When this card dies, return it to the battlefield tapped and transformed under its owner's control."
Bucky Barnes, Eager Ally 83%
$0.42#24971
"When this card dies, look at the top four cards of your library. You may reveal an Equipment, Hero, or Soldier card from among them and put it into your hand. Put the rest on the bottom of your library in a random order."
+1 more matching line