The prepared pyrimidine GLP-1 agonist used for the treatment of diabetes type II, was trapped inside polymer coated ZIF-8. The gene discussed is GLP1R; the disease is type 2 diabetes mellitus.