So I have just got this used rock from a good and thriving sps tank. However it has green algae on it (I don’t have that in my tank). Is it ok to add this rock?
Ok means different things for different people. Will this rock affect chemistry, probably not. It will be ok. Might it give you green algae, maybe . Depends on your cleanup crew. In that case maybe ok, maybe not ok. Depends on if your cleanup crew is up for the challenge. Are there unknown hitchhikers on this rock? Might not be ok. So it really depends on your definition of ok. Or your willingness to take a risk of someone else's live rock.
If you feel you absolutely have to have it I would quarentine it and put a clean up crew in it before putting it in your main tank or you might regret it.