head and tail cannot add any information on their own. For easy string replacements, you probably want sed.
sed -e '/<data /s/-server/& -My_Parameter/' file >file.new
This will search for "<data" and perform a substitution ("s") of "-server" with "-server -MyParameter" (the & is magical and means "whatever we are substituting") on that line. Other lines are printed unchanged.