In-vivo medical devices, systems and methods of operating such devices include a permanent magnetic assembly interacting with external magnetic fields for magnetically maneuvering said device to a desired location along a patients GI tract, and anchoring said devices to the desired location for a period of time. The in-vivo medical device includes illumination sources, an optical system, and an image sensor for imaging the GI tract and thus assisting in locating the desired location. Some in-vivo medical devices include a concave window, which enables better imaging of small areas along the tissue. Furthermore, in-vivo devices with a concave window enable carrying operating tools without damaging the tissue of the GI tract, since prior to operation, the tools protrude from the concave window but remain behind the ends of the edges of the concave window.