Skip to main content
Glama
Considus

pagespeed-insights-mcp

Compare pages

compare
Read-only

Determine if a page change truly improved performance by comparing fresh measurements against a saved baseline, using min-max ranges to avoid misleading noise.

Instructions

Answer "did that change actually help". Measures now and compares against a saved baseline for the same URL and strategy. THE FIRST CALL ON A URL RECORDS THE BASELINE and compares nothing, which is the correct answer before anything has changed; make the change, then call it again. A verdict is only given where the two min-max ranges do NOT overlap: on an unchanged page the performance score has been measured running 27 to 37 and Total Blocking Time 824ms to 3.05s, so comparing medians alone reports improvements that are just the instrument moving. Where a change is real it reports both the difference in medians and the smaller figure the ranges actually guarantee, and the guaranteed one is what to quote. Also reports which findings stopped and started failing, and flags a Lighthouse version change, which moves scores without the page moving. Does NOT compare field data, which is a 28-day window and cannot show a change made this week. SLOW, several minutes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
runsNoDistinct analyses each side. Default 3.
urlsNoAbsolute http(s) URLs. Defaults to saved URLs.
strategyNoPart of the baseline identity. Default mobile.
save_baselineNoReplace the baseline with this measurement. Default false, so repeated calls keep comparing against the same starting point.
Behavior1/5

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

Annotation Contradiction: the description clearly describes state-changing behavior — 'THE FIRST CALL ON A URL RECORDS THE BASELINE' and the save_baseline parameter replaces the baseline — while the annotations declare readOnlyHint=true. This directly contradicts the read-only guarantee and would mislead an agent about side effects.

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?

The description is long but every sentence carries important operational detail: first-call behavior, statistical interpretation, version-change caveat, field-data limitation, and runtime cost. It is front-loaded with purpose but could be tightened.

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

Completeness5/5

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

Despite having no output schema, the description covers all essential context: workflows, side effects, statistical interpretation, known version-change trap, field-data limitation, and performance cost. This is more than sufficient for an agent to invoke the tool correctly.

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

Parameters4/5

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

Schema coverage is 100% and all four parameters already have descriptions. The description adds meaningful behavioral context beyond the schema: first call records the baseline automatically, verdicts are only given when ranges do not overlap, and save_baseline semantics are tied to the workflow. This raises it above the baseline 3.

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 starts with a clear user question ('did that change actually help') and then states the mechanism: measures now and compares against a saved baseline for the same URL and strategy. It is specific about the resource being compared and distinguishes the tool from siblings by explicitly noting it does NOT compare field data.

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

Usage Guidelines5/5

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

Provides an explicit workflow: first call records the baseline, make the change, then call again. It also gives a clear when-not: field data is a 28-day window and cannot show a change made this week. The slowness warning is practical guidance that helps the agent decide whether to use this tool.

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

Install Server

Other Tools

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/Considus/pagespeed-insights-mcp'

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