To find the slope \( m \) of the line that passes through the points \( (x_1, y_1) = (1, 7) \) and \( (x_2, y_2) = (8, 9) \), we use the slope formula:
\[ m = \frac{y_2 - y_1}{x_2 - x_1} \]
Substituting in the coordinates of the points:
\[ m = \frac{9 - 7}{8 - 1} \]
Calculating the differences:
\[ m = \frac{2}{7} \]
The slope of the line that passes through the points \( (1, 7) \) and \( (8, 9) \) is:
\[ \boxed{\frac{2}{7}} \]