Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Replo. If you published it, claim ownership there.

Analyze page speed

pagespeed_analyze
Read-onlyIdempotent

Runs one Google PageSpeed Insights audit (Lighthouse lab data and Chrome UX Report field data) of a public URL with its https:// scheme, for mobile, desktop or both (the default), with one result per device. Lab data (LCP, CLS, FCP, TTFB, TBT, Speed Index) is kept apart from field data (real users' LCP, INP, CLS, FCP and TTFB for the URL, then its origin); field.preferredSource says which applies. Lab runs can't measure INP; TBT stands in for it. categories adds accessibility, best-practices, seo or agentic-browsing (a pass/total fraction). It takes 15 to 60 seconds per device and already retries failures on Google's side; a device PageSpeed couldn't load or finish is listed in unavailable with the reason, and an error means Google rejected the request (a bad URL, or Replo's quota is used up). It reads the page and changes nothing. It runs on Replo's Google PageSpeed account.

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>",
      "projectId": "<projectId>"
    },
    "name": "pagespeed_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe full URL to audit, including the https:// scheme.
strategyNoDevice profile to emulate. "both" runs mobile and desktop and returns one result per device. Defaults to "both".
projectIdYes
categoriesNoLighthouse categories to run. Defaults to ["performance"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly, openWorld, idempotent and non-destructive annotations, the description discloses substantial behavior: lab versus field data separation, the preferredSource flag, the absence of INP in lab runs with TBT as the substitute, retries on Google's side, unavailable-device reporting, what errors mean, and quota usage on Replo's PageSpeed account. This is materially more context than the annotations supply.

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

Conciseness4/5

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

The purpose is front-loaded in the first clause and most of the dense detail is useful. The single long paragraph with semicolon-separated clauses is efficient but somewhat hard to parse, and a little structure would improve scannability without losing content.

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

Completeness4/5

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

For a complex audit tool with no output schema, the description covers the important result surface: lab versus field data, per-device results, categories, unavailable devices, error conditions, and duration. The main gap is that projectId is never explained, but otherwise an agent has enough information to use the tool correctly.

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

Parameters3/5

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

Schema description coverage is 75%, so the baseline is 3. The description reinforces the https-scheme requirement for url and explains that strategy=both returns one result per device, but those points largely repeat the schema; it adds some value on categories (a pass/total fraction) but says nothing about projectId, which the schema also leaves undocumented.

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?

The description states a specific verb and resource: it runs one Google PageSpeed Insights audit of a public URL, covering lab and field data and mobile/desktop/both strategies. Even without a directly named sibling alternative, the scope is unambiguous and an agent can identify exactly what the tool does.

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

Usage Guidelines4/5

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

It gives clear operating context: the URL must be public and include https://; strategy defaults to both; categories default to performance; and an audit takes 15 to 60 seconds per device. It does not name a sibling alternative or state when not to use it, but it provides enough context to select and invoke the tool correctly.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources