Which laboratory test is primarily used to evaluate kidney function by measuring the waste product filtered by the glomeruli?