If the EGR valve was going, then when you drive, the engine will go into 'limp' mode. If the car does not do this it is unlikely to be the egr valve. If the spanner symbol is coming on but with no other symptoms, then the car needs a service! Read your manual or ask the dealer over the phone?
Richard
March 2009