We provide further evidence that a massless cosmological scalar field with a nonminimal coupling to the Ricci curvature of the type Mpl2(1 +ξ σn/Mpln) alleviates the existing tension between local measurements of the Hubble constant and its inference from cosmic microwave background anisotropies and baryonic acoustic oscillations data in the presence of a cosmological constant. In these models, the expansion history is modified compared to Λ CDM at early time, mimicking a change in the effective number of relativistic species, and gravity weakens after matter-radiation equality. Compared to Λ CDM , a quadratic (n =2 ) coupling increases the Hubble constant when Planck 2018 (alone or in combination with BAO and SH0ES) measurements data are used in the analysis. Negative values of the coupling, for which the scalar field decreases, seem favored and consistency with the Solar System can be naturally achieved for a large portion of the parameter space without the need of any screening mechanism. We show that our results are robust to the choice of n , also presenting the analysis for n =4 .