This section is at https://rollingedition.com/business-intelligence-with-agents/metrics-first#validate-the-request.