It’s not actually supposed to be a re-roll in 5e. You can get advantage on a roll by spending your inspiration point. To roll with advantage you get to roll two d20s – so you need to declare you’re using it before you roll.
You can use it for attack rolls, saving throws, ability checks. I can see how that would be hard to implement in this game though.