I suppose it depends on your budget, if that were us I'd be worried but west ham have a bigger surplusI don't think it's a terrible deal. You're getting a proven PL player, who performs pretty consistently (7/10+ most weeks) and still has a few years in him.
The fact that he's twenty-nine in two months isn't great for the price, but I think he will serve Moyes well.