right after it come through the foundation. Should it be a gate valve?
Gate valves used to be the standard, but Globe valves had replaced them, and now Ball valves have replaced them. A ball valve is the type of choice these days. They have the best reputation for shutting off completely and have a VERY low failure rate. Al
A ball valve for water use. Gate valves fail after a period of time and also leak.
Older homes will have a gate valve, newer homes would use a ball valve. Any type of valve would be proper as long as it seals.
Main shut off of what? Water or gas?