We present a novel concept for ophthalmic glucose sensing using a biosensing system that consists of plasmonic dipole metamaterial covered by a layer of functionalized hydrogel. The metamaterial together with the hydrogel can be integrated into a contact lens. This optical sensor changes its properties such as reflectivity upon the ambient glucose concentration, which allows in situ measurements in the eye. The functionalization of the sensor with hydrogel allows for a glucose-specific detection, providing both selectivity and sensitivity. As a result of the presented work we derive a dynamic model of the hydrogel that can be used for further simulation studies.