The immediate problem sounds like a lack of battery voltage getting to the starter which can be caused by high resistance in any of the connections along with the obvious possibility of a bad battery. If the battery is low check also the alternator. The alternator DOES NOT need to be working for the car to start, but it is required to keep the battery charged.
Bosch Master, ASE Master, L1
33 years MB technician