Skip to main content
Glama
PageSpeed MCP Server

PageSpeed MCP Server

performance_audit

Audit any URL's performance to get Core Web Vitals, accessibility/SEO scores, and top optimization opportunities.

Instructions

Get a summarized performance audit with Core Web Vitals, scores for performance/accessibility/SEO, and top optimization opportunities.

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

Input Schema

NameRequiredDescriptionDefault
urlYes
strategyNomobile

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. 'Get' implies a read operation, but the description does not state whether this triggers a live crawl, how long it takes, whether results are cached, or what permissions/rate limits apply. It does disclose the returned content categories, which is some behavioral value.

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?

A single front-loaded sentence listing the audit's contents. It is efficient with no filler, though brevity comes at the cost of omitting parameter and selection guidance.

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, the description does a fair job of describing what is returned (scores, vitals, opportunities). However, for a two-parameter audit tool with no annotations, it omits URL requirements and the mobile/desktop strategy choice, leaving gaps an agent would need to resolve from the schema.

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

Parameters1/5

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

Schema description coverage is 0% for two parameters, and the description never mentions the required 'url' or the 'strategy' enum (mobile/desktop). Only the mention of Core Web Vitals loosely implies device strategy, but neither parameter's meaning or accepted format is clarified.

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 uses a specific verb ('Get') and resource ('summarized performance audit') and enumerates what the audit contains: Core Web Vitals, performance/accessibility/SEO scores, and top optimization opportunities. It does not differentiate this tool from siblings such as mobile_audit or run_pagespeed_test, which likely overlap.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus the sibling audit tools, nor any prerequisites such as whether the URL must be publicly reachable. The only implied usage is that it produces a performance summary, leaving the agent to infer selection.

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