Skip to main content
Glama

AlchemyAgent

PageSpeed and Core Web Vitals check

pagespeed_check
Read-only

Run Google PageSpeed Insights on a public URL. Returns real-user Core Web Vitals (LCP, INP, CLS from the Chrome UX Report), the Lighthouse performance score, lab metrics and the biggest speed opportunities. Use when someone asks if a site is slow, about Core Web Vitals, or for a PageSpeed score. Uses the Google PageSpeed Insights API v5 (https://developers.google.com/speed/docs/insights/v5/get-started).

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": "pagespeed_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic page URL, e.g. https://example.com/ or example.com
strategyNoDevice to test. Google indexes mobile-first, so mobile is the default.mobile

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-dependency behavior are covered structurally. The description adds useful return-shape detail (CrUX field data, Lighthouse lab data, opportunities) and cites the API version and docs URL. It omits operationally relevant caveats such as CrUX data being unavailable for low-traffic origins or rate limiting, which matter for a tool that can legitimately return partial results.

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?

Three sentences, front-loaded with the action and output contents, then the usage triggers. The developers.google.com link is marginal but small; nothing else is padded or redundant.

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?

No output schema exists, so the description carries the return-value burden and does so well by listing field data, lab metrics, and opportunities. Given a simple 2-parameter tool, the main residual gap is not warning that CrUX data may be missing for low-traffic URLs, which would set correct agent expectations.

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 coverage is 100% and both parameters are documented in the schema, including the mobile-first rationale for the default. The description adds no meaning beyond that, so the baseline of 3 applies.

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

Purpose4/5

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

States a specific verb and resource ("Run Google PageSpeed Insights on a public URL") and enumerates the concrete outputs: real-user Core Web Vitals from CrUX, Lighthouse performance score, lab metrics, and opportunities. An agent knows exactly what this returns, though it does not name or distinguish itself from the nearby cwv_trend sibling, which likely overlaps on Core Web Vitals data.

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?

Gives explicit trigger conditions: "Use when someone asks if a site is slow, about Core Web Vitals, or for a PageSpeed score." That is clear when-to-use context. It stops short of when-not-to-use or routing to alternatives such as cwv_trend for historical comparisons.

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.