Skip to main content
Glama
SEOBlogBot

SEOBlogBot

Official
by Citability

Lighthouse Audit Checklist

audit-lighthouse

Audit a webpage URL through PageSpeed Insights to evaluate performance, accessibility, best practices, SEO, and PWA readiness for mobile or desktop.

Instructions

Run a Lighthouse-style checklist via PageSpeed Insights (performance, accessibility, best-practices, SEO, PWA).

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": "audit-lighthouse"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL to audit
apiKeyNoOptional PageSpeed Insights API key
strategyNomobile

Output Schema

NameRequiredDescriptionDefault
urlYes
errorYes
strategyYes
topIssuesYes
categoryScoresYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. Naming PageSpeed Insights hints at an external networked call, but the description omits the material behaviors: this is a read-only remote fetch, it has API quota/rate limits (which is why apiKey exists), it is latency-heavy, and results may vary between runs. None of that is stated.

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 well-formed sentence with the action front-loaded and the category list compactly bracketed. No padding or filler. It is arguably too terse rather than too verbose.

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?

An output schema exists, so return values need not be explained, and the audited categories are covered. However, for a tool that depends on an external quota-limited service with a mobile/desktop mode switch, the definition leaves real operational questions unanswered.

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 67%, with url and apiKey documented in-schema while strategy has only an enum and a 'mobile' default and no description anywhere. The description adds nothing about parameters — it never explains that strategy selects the Lighthouse emulation mode, whose results differ substantially, nor why an API key matters. It therefore does not compensate for the gap.

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?

"Run a Lighthouse-style checklist via PageSpeed Insights" gives a concrete verb and resource, and the parenthetical enumerates the five audited categories (performance, accessibility, best-practices, SEO, PWA). That is enough for an agent to know it is a full page-audit tool. It stops short of distinguishing itself from the near-neighbour analyze-core-web-vitals, which covers an overlapping measurement domain.

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 when-to-use or when-not-to-use guidance at all. The definition never says whether to pick this over analyze-core-web-vitals, audit-sitemap, or check-indexing-status, nor does it state prerequisites such as a publicly reachable URL. Usage can only be inferred from the tool name.

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