Developers who carry out repair work should not require non-disclosure agreements, says an MP.