How do rare materials/special material on tools affect chests excavating?

I have a question that ive been researching for hours and cannot find a good answer. Does your tool “rare materials” “special materials” roll affect what you get out of chests during excavating? Any info you can offer on how that works i’d really appreciate. Spent 30k on two tools and didnt get either of those rolls.