Developing a smart civil structure, in which the structure instantaneously identifies damages during vibration and makes decisions to compensate or reduce them, is one of the new issues in the seismic control of structures. One of the most important challenges in asymmetric buildings is the torsion due to the damage occurrence in the structure during severe excitation. The aim of this study is to try to reduce the torsional effects and dynamic responses of the structure by combining two strategies, including real time structural health monitoring (SHM) and semi-active control. Hence, a new damage detection method based on identified Markov parameters of the system is proposed to identify the damage in 3-D shear model structures. Also, in order to create a smart structure, a new controller is designed to regulate mechanical characteristics of the installed adaptive stiffness devices based on the detected damages and eccentricity variations in the structure. The performance of the proposed controller and damage detection method is investigated through numerical examples under the influence of various earthquake records. The obtained results reveal that the proposed method estimates the location, amount, and type of damages with acceptable accuracy even with noise contamination of the measured data. Moreover, the presented controller can effectively reduce the increase in the torsional response of the structure owing to the damage occurrence during strong ground motions.