Iran has 2 operational Earth observation (optical "spy" ) satellites, Noor-2 and 3 weighing 17 kg and 24 kg. launched from Iran on Qasem solid fuel rockets in 2022 and 2023 into 500 km altitude orbits. At any time they have a surface area with diameter of 5,000 km in line-of-site, and they stay in LoS of any point they pass straight over for 33 minutes (and have ~1,000 km diameter within 45 degrees observation angle for ~7 minutes) during each orbit which takes 4½ hours. So 7 minutes "good" 45 deg observation of any place in a corridor like the one I marked on the map here. But probably only during daylight. [EDIT: Actually, I see that they are not in polar orbits, so they will pass over the launch site only once every ~10th day. Not very useful!)
They have a resolution of 12-15 meter and 5-6 meter respectively, so nothing smaller than a truck can be resolved as one pixel. They could locate ships, though. They could've focused the cameras narrower for higher resolution, but then shrinking the swath width (field of view) below the 25 km they have. They need bigger telescopes (like 20 cm aperture) and thus larger rockets.
They have radio communication, of course, said to be capable of guiding missiles below! So that might be their purpose, guiding missiles to a largish stationary target or a ship. And they have a third operational satellite which is radio communication only, in a 750 km orbit.