The grade you get has a lot of factors. Your goal is to clear mission in a short time and optimize usage of your items to not lose certain bonus or a rank. These evaluation points do not apply when you are in intermission. Like at the start of game for example.
Refer to the mission required times and orbs for the highest points.