Skip to main content
Glama
gsc-mcp
by xevrion

Page speed and Core Web Vitals

page_speed
Read-only

Measure Core Web Vitals and Lighthouse scores for up to five URLs, then identify priority fixes to improve site performance on mobile or desktop.

Instructions

Core Web Vitals from real Chrome users (LCP, INP, CLS at the 75th percentile, pass or fail) plus a Lighthouse lab score and the biggest fixes, for one or more URLs. Takes 10 to 30 seconds per URL.

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": {
      "urls": "<urls>"
    },
    "name": "page_speed"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesUp to 5 URLs
strategyNomobile

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, openWorldHint), and the description adds meaningful behavior the annotations do not: the data source (real Chrome users, i.e. field data vs. lab), the 75th-percentile aggregation, pass/fail framing, and a per-URL latency expectation of 10-30 seconds. It stops short of saying what happens on invalid or unreachable URLs or whether partial results are returned for batches.

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, with the returned metrics front-loaded and the cost caveat trailered as a single clause. Nothing is redundant and nothing crowds out the key information.

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

Completeness3/5

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

With no output schema and open-world network fetching, the description does a good job of enumerating what comes back and how long it takes. But it never ties the returned Lighthouse score to the mobile/desktop 'strategy' parameter, leaving the agent unable to predict or control which profile the results reflect in a two-parameter tool.

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

Parameters2/5

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

Schema coverage is 50%: the 'urls' parameter is self-documenting ('Up to 5 URLs'), but the 'strategy' enum (mobile default vs. desktop) has no description in the schema and is never mentioned in the tool description. The strategy choice materially changes which Lighthouse score comes back, so leaving it unexplained is a real semantic gap the description should have filled.

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?

The description names the exact resource and metric set: real-user Core Web Vitals (LCP, INP, CLS at p75 with pass/fail) plus a Lighthouse lab score and top fixes, scoped to one or more URLs. That is far more specific than the name/title, but it never contrasts with the sibling 'page_report', so differentiation relies on the reader inferring it from the metric list.

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 is only implied: an agent can infer this is for measuring performance of given URLs, and the '10 to 30 seconds per URL' cost is a genuinely useful decision input. However, there is no explicit when-to-use/when-not, and no sibling (e.g. page_report or inspect_url) is named as the alternative for other page-level questions.

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