Skip to main content
Glama
Dotcom-Tools MCP server

Dotcom-Tools MCP server

Official

Check page speed in a browser

check_page_speed

Loads a page in Chrome from selected locations to measure Core Web Vitals, TTFB, load time, page weight, and Lighthouse scores, and pinpoint failed requests or slow third parties.

Instructions

How fast does this page load for real visitors, and what slows it down? Loads the page in Chrome per location: Core Web Vitals (LCP, CLS, TBT), TTFB, load time, page weight, Lighthouse scores, failed requests, slowest third parties, the IP and certificate of the page that loaded. Mobile with device "mobile"; for China, regions ["China"] (mainland locations: does the page load behind the firewall, or does a blocked dependency stall it). Can't tell: field data from real users (this is lab data), or why a server is slow inside (use check_website for server timings first; it is 10 times cheaper). Cost: about 20 credits per location; default 3 locations. Use it when the question is about page speed or a broken page.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "check_page_speed"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe page URL. https:// is added when there is no scheme.
freshNotrue runs a new test even when the same check ran in the last 5 minutes: use it to re-check after a change or a fix.
deviceNodesktop (default) or mobile.
networkNoNetwork throttling: none (default), broadband, fourG or threeG.
regionsNoRegion names, e.g. ["Europe"] or ["China"].
locationsNolocations: names (e.g. ["London", "Tokyo"]) or ids from list_locations. regions: region names such as ["Europe", "Asia"] (one location from each, or locationCount spread across them). Give locations or regions, not both; with neither, locations in different regions are picked.
waitSecondsNoSeconds to wait for the result, 0 to 60 (default 60). A page load can take longer; then call get_test_result.
locationCountNoHow many locations (default 3).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only say it is non-read-only, open-world, non-idempotent and non-destructive; the description adds substantive context the annotations cannot: ~20 credits per location, 3 locations by default, lab-vs-field data limitation, the waitSeconds timeout and the need to follow up with get_test_result. That is exactly the cost/limits disclosure an agent needs before spending credits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the user-facing question, then mechanism, then outputs, then caveats, then cost, then the trigger sentence last. Dense but every clause carries information (outputs, China case, alternatives, credits); no filler or restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, yet the description enumerates the returned metrics, including the loaded page's IP and certificate. With 8 parameters, a cost model, a timeout behavior and the check_website alternative all covered, an agent has everything needed to decide, call, and interpret this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3 and the schema already documents url, device, network, locations, waitSeconds and locationCount. The description still adds meaning beyond the schema by explaining why regions matters for China (firewall/blocked dependency stall) and how device 'mobile' changes the run, giving semantic intent rather than restating field docs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with the exact question the tool answers ('How fast does this page load for real visitors, and what slows it down?') and names the mechanism: loading the page in Chrome per location. It enumerates the concrete outputs (LCP, CLS, TBT, TTFB, Lighthouse, failed requests, IP/certificate), so an agent knows precisely what resource this is and what it returns.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit trigger is given ('Use it when the question is about page speed or a broken page'), plus explicit exclusions and alternatives: field data from real users is out of scope, and internal server slowness should go to check_website first because it is 10x cheaper. It also routes long-running cases to get_test_result.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.