Parameter depending almost monotonic functions and their applications to dimensions in metric measure spaces