Fifth Generation (5G) specifications aims for data rate of 1 Gbps in high mobility and 10 Gbps in low mobility conditions, 15-30 bps/Hz of spectral efficiency with less than 1 milli second (ms) latency reduction. Massive multiple-input and multiple-output (Massive MIMO) is one of the promising technologies in 5G standard which offers a high spectral efficiency improvement. This work focus on the uplink scenario spectral efficiency in a Massive MIMO simulation network based on third generation partnership project (3GPP) and long term evolution (LTE) document of 5G. This work analyzes the spectral efficiency metric by simulating the 5G Massive MIMO network. Then, the research identified major constraint parameters; number of user antennas, K, number of base station antennas, M, transmission power, P, channel bandwidth, B, and coherence time, Tau_C and pilot time Tau_P which plays a significant role in varying this metric. The authors focus on improving the spectral efficiency by passing these constraint parameters through different meta-heurestic optimization algorithms, such as, convex optimization solver, White shark optimization (WSO) and Particle swarm optimization (PSO). The results show an overall, 1-10 percent of improvement of the parameter wnen compared with other research articles. The maximum value achieved is 49.84 bps/Hz, which is three times higher as per to the 3GPP and International Telecommunication Unioin (ITU) release document.