Developer Tools · Data & Analytics

GTmetrix MCP

Run GTmetrix page performance tests, read reports, HAR files and history, and manage page tags, monitoring and alerts through GTmetrix's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Gtmetrix start test

    Start a new GTmetrix page performance test for a URL. Use this when a user wants to test or improve their website's performance, or reports any of: slow/sluggish loading, layout instability (content jumping), slow server response, poor mobile performance, slow checkout or other flows, high bounce rates, SEO ranking drops, questions about a specific metric (LCP, CLS, TBT, TTFB, etc.), suspecting a recent deploy caused a regression, or wanting to benchmark against competitors. If the user has not provided a URL, ask for it before calling this tool. Concurrency: Basic accounts allow 2 concurrent tests, PRO allows 8. A 429 error means an existing test needs to finish before you retry. Workflow: `start_test` → wait 10 seconds → `gtmetrix_get_test` with `wait_seconds=25` to long-poll server-side; if it returns 'still running', you can re-issue it back-to-back with the same arguments (no need to shell-sleep between calls) until state=complete → `gtmetrix_get_report`. All analysis options are optional; the input schema lists their names, types, and defaults. Most-used options: `location` (test region ID) and `browser` (browser ID) — resolve a region/browser name to its ID via `gtmetrix_get_catalog` (`catalog_id` of `locations` / `browsers`); `report` (default `lighthouse`; also `legacy`, `lighthouse,legacy`, or `none`); `simulate_device` (preset mobile/tablet profile — overrides viewport and `user_agent`; IDs via the `simulated-devices` catalog); `throttle` as `Kbps_down/Kbps_up/latency_ms` (e.g. `1600/768/300` ≈ a slow 3G link; presets via the `throttle-connections` catalog); plus `adblock`, `video` (+0.9 credits), `cookies`, `httpauth_username`/`httpauth_password`, `block_url`/`allow_url`, `browser_width`/`browser_height`/`browser_dppx`, and `retention` (1/6/12/24 months). For the full reference — every option, its default, valid values, and recipes — read the MCP resource `gtmetrix://docs/test-options-guide` (or call `gtmetrix_get_guide` with `guide_id: 'test-options'`).