Skip to main content
Glama

Check page speed

check_page_speed
Read-onlyIdempotent

Measure a store page with Google PageSpeed Insights: Lighthouse score and lab metrics, real-visitor Core Web Vitals, the largest improvement opportunities and a diagnosis of the cause (LCP element and phases, request chain, render-blocking requests, third parties, layout-shift culprits). Each device takes 10–30 seconds; results are cached for an hour. On a password-protected store, only real-visitor data is available.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
pageNoA store URL or path, e.g. / or /products/blue-runner./
storeNoThe connected store to use. Omit when only one is connected.
deviceNoboth
domainNoThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive semantics, so the description earns credit for adding context the annotations cannot: 10–30 second latency per device, one-hour result caching, and the degraded mode on password-protected stores where only real-visitor data is returned. Those are exactly the operational facts an agent needs to set expectations and interpret 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.

Conciseness5/5

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

Two sentences, front-loaded with the core action and followed by the operational constraints. The long parenthetical of diagnostic outputs is dense but every item listed is a distinct returned artifact, so no wording is wasted.

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 burden of describing returns — and it enumerates them in useful detail — while also covering latency, caching, and the password-protected edge case. The remaining gap is that per-device result structure and the semantics of device=both are not spelled out, which matters for interpreting the response.

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 75% and the schema itself explains page, store, and domain, including the "required until a store is connected" nuance. The description only indirectly alludes to the device parameter ("each device takes 10–30 seconds"), and "both" as a device value is never clarified, so it adds little semantic value beyond the schema.

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 ("Measure a store page with Google PageSpeed Insights") and enumerates the concrete outputs — Lighthouse score, lab metrics, Core Web Vitals, opportunities, and diagnosis detail (LCP element/phases, render-blocking, third parties, layout shifts). It is unmistakably a performance-measurement tool, though it never distinguishes itself from adjacent siblings like get_store_performance or check_store_technical.

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

Usage Guidelines3/5

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

Usage context is implied rather than stated: the device timing note and the password-protected-store caveat tell the agent what to expect, but there is no explicit guidance on when to pick this over get_store_performance or check_store_technical, nor on prerequisites such as needing a connected store before calling.

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.