Skip to main content
Glama

Lighthouse run audit

lighthouse_run_audit

Run a Lighthouse audit on one URL. strategy: mobile or desktop. Changes data: runs only with confirm=true; without it, returns a preview and changes nothing. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": "lighthouse_run_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
extraNo
confirmNo
user_idNo
strategyNo
client_idNo
categoriesNo
user_emailNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already flag readOnlyHint=false and destructiveHint=false, but the description adds the genuinely useful detail that the mutation is gated behind confirm=true with a no-op preview otherwise, which is not derivable from the annotations. It also discloses that client_id defaults to the active brand. It does not cover permissions, rate limits, or run duration for an audit that presumably takes time.

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?

Four short sentences, each earning its place: purpose first, then the strategy values, then the critical confirm semantics, then parameter notes. The terse "field: meaning" style packs a lot without filler.

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?

For an 8-parameter, non-read-only tool with 0% schema coverage, the description covers the highest-risk mechanics (confirm gating) well and an output schema exists so return values need not be described. However, three parameters (user_id, user_email, categories) are undocumented everywhere, which is a real gap for an agent filling out a mutating call.

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?

Schema description coverage is 0% across 8 parameters, so the description must carry the load; it supplies meaning for strategy (mobile or desktop — values absent from the schema), confirm, client_id's default, and the catch-all extra. It leaves user_id, user_email, and categories completely unexplained, so roughly half the surface remains undocumented in both places.

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 gives a specific verb and resource ("Run a Lighthouse audit on one URL") and the phrase "one URL" implicitly contrasts with the batch siblings, so scope is reasonably clear. It never names a sibling alternative explicitly, so the differentiation is inferred rather than stated.

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 states a concrete usage rule: the audit only actually runs with confirm=true, and without it the call returns a preview and changes nothing. That is solid when-to-use context for the confirmation pattern, but there is no guidance on when to pick this tool over lighthouse_get_audit, seo_run_lighthouse_batch, or seo_audit_competitor_site.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.