There are many situations in which there is a need to monitor the location and behavior of people and/or vehicles in order to detect possible irregularities and control where they are located and how they move, such as in companies, public transportation and public security. In this paper, we present MobCons-AT (Mobility Constraints Authoring Tool), an authoring tool that allows the specification of mobility restrictions rules that must be followed by mobile nodes. Rules are specified through a Domain-Specific Modeling Language (DSML) called MobCons-SL (Mobility Constraints Specification Language). Once specified in MobCons-SL, these rules are automatically transformed into software artifacts that performs the detection of the mobility restrictions violations performed by mobile nodes. This approach allows faster delivery time and lower the cost for the development of software systems aiming the detection of mobility restrictions. This paper also describes the use of MobCons-AT in two case studies, showing its applicability for diverse mobility scenarios.