A measuring chamber device for an optically operating sensor for determining a concentration of a substance that is contained in tissue fluid of a mammal. The measuring chamber device has a measuring chamber filled with a liquid measuring medium and a wall with better diffusion permeability for the substance than for other constituents of the tissue fluid. A transmitter device for emitting optical radiation into the measuring chamber, and a receiver device for receiving optical radiation that has passed through the measuring chamber are also provided.