A boundary-value problem for the parameterized mesoscale eddy transport