Staff have been left shaken after a man carrying a hammer allegedly attempted to rob a petrol station in Washington.