mtsams commands in the database