Add validity checks and documentation to MetricScope