Measure page speed
check_pagespeedMeasure web page performance with Google PageSpeed Insights and get a reliable median score by running several distinct analyses, including the min-max spread to show uncertainty. Avoid quoting noisy single-run results.
Instructions
Measure a page with Google PageSpeed Insights and report the MEDIAN of several DISTINCT analyses with the min-max spread, so the number comes with its uncertainty. A single Lighthouse run is noise, Total Blocking Time swings threefold between runs on an unchanged page, so do not set runs=1 to make it fast and then quote the score. Google re-analyses a URL only about once a minute and replays the cached result in between, so this keeps asking until it has genuinely different analyses rather than the same one several times. That means runs=5 takes roughly 150 seconds and asking harder will NOT speed it up. Reports fewer analyses honestly if time runs out. Anything that will not fit inside one tool call returns a JOB ID instead and keeps working: collect it with check_status, polling about every 15 seconds. Only runs=1 on a single URL answers immediately, and runs=1 is the noisy single run you should not be quoting. Returns a report and the same figures as JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | No | DISTINCT analyses to collect and median over. Default 5, which takes ~150s. | |
| urls | No | Absolute http(s) URLs. Defaults to saved URLs. | |
| strategy | No | Default mobile, which Google ranks on. |