You should be doing error checking on whatever the user sends you, right? So if they don't pass something in you can bail while doing those checks. You should also consider if there are some sane default values you could use to reduce the number that are mandatory.