The invention provides a downhole shut-in tool for obtaining formation pressure data. The tool includes a fast-closing main valve and a pressure-relief valve operable between open and closed positions to effect periodic sealing and release of formation pressure with respect to the surface.