Agent plugins are not called with any parameters. They are called by the check_mk_agent
and whatever they print to stdout
is transmitted to the checkmk server as part of the agent output.
I suggest reading this: Writing your own check plug-ins and especially the section about agent based plugins: Writing your own check plug-ins