Skip to main content
Glama

run_lighthouse_audit

Run automated Lighthouse audits to analyze website performance, SEO, accessibility, and best practices for mobile or desktop devices.

Instructions

Run a local Lighthouse CLI audit via npx.
Requires Node.js plus a locally available Chrome/Chromium browser.

Args:
    url: Full page URL
    form_factor: mobile or desktop
    categories: Comma-separated Lighthouse categories

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
form_factorNomobile
categoriesNoperformance,seo,accessibility,best-practices

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses key behavioral traits: local execution, dependency requirements (Node.js, Chrome/Chromium), and CLI-based operation. However, it lacks details on output format, error handling, or performance characteristics, leaving gaps for an agent to understand full behavior.

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 a purpose statement, prerequisites, and parameter explanations in bullet points. Every sentence adds value with no redundancy, making it easy for an agent to parse quickly.

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?

Given 3 parameters with 0% schema coverage and an output schema exists, the description provides good context for usage and parameters. It covers prerequisites and parameter meanings adequately, though it could mention the output schema's role. For a local audit tool, this is reasonably complete.

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 description coverage is 0%, so the description must compensate. It adds meaningful semantics for all 3 parameters: url as 'Full page URL', form_factor as 'mobile or desktop', and categories as 'Comma-separated Lighthouse categories'. This provides clear usage context beyond the bare schema, though it could specify category options or URL format.

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 clearly states the tool runs a Lighthouse CLI audit via npx, specifying it's a local audit. It distinguishes from sibling tools like 'audit_live_site' by emphasizing the local execution requirement. However, it doesn't explicitly contrast with all SEO/analytics siblings, keeping it at 4 rather than 5.

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?

The description provides clear context for when to use this tool: for local Lighthouse audits requiring Node.js and Chrome/Chromium. It implicitly distinguishes from 'audit_live_site' (likely remote) but doesn't explicitly name alternatives or state when not to use it, missing full explicit guidance.

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/GiorgiKemo/mcp-seo-audit'

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