Skip to main content
Glama
vdalhambra

SiteAudit MCP

lighthouse_audit

Read-only

Analyze website performance, accessibility, SEO, and best practices using Google Lighthouse. Get Core Web Vitals scores and prioritized optimization opportunities.

Instructions

Run Google Lighthouse via PageSpeed Insights API — get performance, accessibility, SEO, and best-practices scores plus Core Web Vitals (LCP, INP, CLS).

Returns Lighthouse scores (0-100), Core Web Vitals with ratings, and the top 5 performance optimization opportunities ranked by potential time savings. This uses Google's real Lighthouse engine — the same tool Chrome DevTools uses. Takes 15-30 seconds to complete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to audit with Google Lighthouse
strategyNo'mobile' or 'desktop' (default: mobile)mobile

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations provide readOnlyHint=true, and the description adds valuable behavioral context beyond that: it discloses execution time ('Takes 15-30 seconds to complete'), mentions it uses 'Google's real Lighthouse engine', and specifies the scope of returned data (scores, Core Web Vitals, top 5 opportunities). This enhances understanding of the tool's operational characteristics.

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?

The description is efficiently structured with four focused sentences: first states the core function, second details return values, third adds implementation context, fourth provides timing information. Every sentence adds value with zero wasted words, and key information is front-loaded.

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?

Given the tool has annotations (readOnlyHint), 100% schema coverage, and an output schema exists, the description provides excellent contextual completeness. It covers purpose, return values, implementation details, and execution timing - everything needed to understand the tool's role and behavior without duplicating structured data.

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

Parameters3/5

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

With 100% schema description coverage, the schema already fully documents both parameters. The description doesn't add any parameter-specific information beyond what's in the schema (URL to audit, mobile/desktop strategy). The baseline score of 3 is appropriate when the schema carries the full parameter documentation burden.

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 clearly states the specific action ('Run Google Lighthouse via PageSpeed Insights API') and resources involved ('performance, accessibility, SEO, and best-practices scores plus Core Web Vitals'). It distinguishes from siblings like 'performance_audit' or 'seo_audit' by specifying it's a comprehensive Lighthouse audit that returns multiple categories of scores, not just one aspect.

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?

The description implies usage context through mentioning what the tool returns and execution time, but doesn't explicitly state when to use this vs. alternatives like 'performance_audit' or 'full_audit'. It mentions 'top 5 performance optimization opportunities' which suggests optimization focus, but no clear guidance on tool selection among siblings.

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/vdalhambra/siteaudit-mcp'

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