Skip to main content
Glama
Akxan
by Akxan

PageSpeed Insights / Core Web Vitals

pagespeed
Read-onlyIdempotent

Run Google PageSpeed Insights on a URL to get Lighthouse scores, lab metrics, field data, and improvement opportunities for performance, SEO, accessibility, and best practices.

Instructions

Run Google PageSpeed Insights for a URL. Returns Lighthouse category scores (performance, SEO, accessibility, best practices), lab metrics (LCP, CLS, TBT, FCP, Speed Index), real-user CrUX field data (LCP, CLS, INP) when available, and the top improvement opportunities with estimated savings. Set PAGESPEED_API_KEY for a higher quota. Each run takes 15-60 s; Google caches results for a short while, so if a call times out simply call again. A 'Lighthouse returned error' after retry usually means the page never becomes idle (endless animations/JS) and cannot be audited by PSI.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
strategyNomobile
categoriesNo
topOpportunitiesNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.0

TDQS

A4.3/5.0
Behavior5/5

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

The description goes beyond the readOnly/idempotent annotations by disclosing latency, caching behavior, retry expectations, and a specific failure mode. This accurately sets agent expectations without contradicting the supplied annotations.

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?

Every sentence adds useful information: output contents, quota, runtime, caching/retry, and error diagnosis. There is no filler, repetition, or unnecessary detail, making it compact yet dense with relevant guidance.

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?

The description thoroughly covers outputs, latency, retries, and error semantics, which is valuable given there is no output schema. It falls slightly short by not explaining how the strategy and categories parameters alter the returned result set or that defaults are not the full category list.

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?

The url parameter is implied and categories/top opportunities are loosely referenced, but strategy is never explained and the categories defaults/limiting behavior are not described. With 0% schema description coverage, the description does not carry enough parameter-level meaning.

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 opens with a specific verb and resource: 'Run Google PageSpeed Insights for a URL', then lists the concrete output types. This makes the tool's purpose and scope immediately clear and distinct from sibling SEO/audit tools.

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 practical operational guidance: set PAGESPEED_API_KEY for a higher quota, expect 15–60 second runs, retry on timeout, and interpret repeated Lighthouse errors as an idle-page issue. Alternative-selection guidance is not explicit, but the usage context is strong.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Akxan/google-seo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server