Hi Ben.
At the top of the post entry window, there ia a capital letter 'B'. If this button is pressed inadvertantly, your post will all be in bold typeface. This can be corrected by marking the relevant text and then pressing the 'B' button.
After a many years of working with relays, I tend to be sceptical when relays are blamed for faults, but perhaps this is because they are easy to eliminate, however poor connections to the relay can also cause problems. Unfortunately there is a lack of published electrical information relating to your x230 2.8jtd
If I understand correctly, your emgine sometimes cranks OK, but is reluctant to start, then once started runs OK. This does not sound like a relay problem. Have you considered the camshaft sensor? On the 2.8jtd the camshaft sensor is only used when starting, to determine the stroke, with all subsequent timing being taken from the crankshaft sensor.
If you wish to identify the relays for your present, and any future problem perhaps a "pull and see" approach may work. To do this you will need to pull a relay, and than with ignition on, attempt to find what does not work.
For a start the blue relay in your picture is the probably direction indicator/emergency flasher.
I have seen used versions of the yellow relay descibed as a "comfort module" which means the seller does not know its function. I suspect that it contains an electronic timer and/or an end of travel current operated trip circuit, e.g. for windows.
Other functions using relays on pre 2000 x230s are:-
Dipped headlghts
Main beam headlights
Starter (diagrams for pre 2000 x230 show this)
Heater fan
Heated rear window (probably not on a MH).
The above are probably the grey coloured relays in your picture, then also.
Electric cab windows if fitted
Horn is commonly controlled via a relay, but may not be on x230.
Cooling fans?
The above list does not include relays directly associated with the 2.8jtd engine, which on my x244 are:-
Main injection relay
Fuel pump relay
Diesel heater relay
Flame starter valve relay
(On the x244 these four relays are housed with other essential relays in an engine bay fusebox.)
Also separately in the engine bay is a larger relay for the flame starter glowplug.
Please note that the flame starter is only used below about zero centigrade.