How often is it called? If not often, I suggest making it mandatory. You can do that by doing something like:
if parameter is null then
raise error "hey dummy, don''t do this!"
end if;
You can then pass it in from the Tcl environment ...
C functions are problematic as you can't just do a "create function" and be done. The C function needs to be compiled, linked, and installed separately. This is a pain in an environment where we want the APM to do everything necessary to install a package.