messages and actions for mongo_query