I am trying to make my window manager conform to the ICCCM specifications. I fully understand the reason for the _NET_SUPPORTING_WM_CHECK atom - this ensures that no invalid information stays whenever the window manager isn't running anymore.
What I don't understand is why are no other atoms like _NET_NUMBER_OF_DESKTOPS expected on the supporting window besides _NET_WM_NAME and _NET_SUPPORTING_WM_CHECK itself.
Window managers are supposed to set and overwrite the data but this can be misleading in the case the new window manager isn't compliant.
Well the atoms that you are talking about are not the ICCCM. They belong to the newer set of EWMH
So basically it goes like this.
First we had the ICCCM. They are
Then we had EWMH that are
Freedesktop wanted to make the EWMH as broad as possible (apart from GNOME and KDE) and that is why most of the atoms are SHOULD and not MUST. They are giving a chance to small window manager to claim compliance.