Have several mandatory parameters in its function

GPT never calls the function without the year since it is it which invents the year. It is therefore impossible to generate an error. To generate an error GPT would have to call the function without providing the year but it provided it to the function without asking the user