Return really empty response with NO_CONTENT
Cosmetic fix: Alignment of closing curly bracket
Minor optimization: Get agent after input validation