An algebraic formulation of inverse problems in MP dynamics