Skip to main content
Glama
Web Validator by DigestSEO

Web Validator by DigestSEO

Run isolated Lighthouse performance lab on supplied static HTML

browser.lighthouse_lab
Read-onlyIdempotent

V11-LAB local-only: run the real Lighthouse engine once in pinned sandboxed Chromium against caller-supplied HTML served at a synthetic, isolated local proxy origin.

Instructions

V11-LAB local-only: run the real Lighthouse engine once in pinned sandboxed Chromium against caller-supplied HTML served at a synthetic, isolated local proxy origin. Reports redacted Lighthouse performance score, FCP, LCP, TBT, Speed Index and CLS. All supplied executable page scripts and embedded frames are stripped, and all outbound resource requests are denied; no production URL, remote CSS/JS, CrUX field INP, ranking or indexing verdict. Chrome/Lighthouse may incur CPU and memory load; fixed 75-second deadline and 180 KB HTML cap.

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": {
      "html": "<html>"
    },
    "name": "browser.lighthouse_lab"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYesAuthorized static HTML markup for the isolated lab. It is not fetched or stored.
form_factorNoRun one real Lighthouse performance-only lab simulation using mobile or desktop viewport emulation.mobile

Output Schema

NameRequiredDescriptionDefault
errorNo
scopeYes
statusYes
metricsYes
findingsYes
form_factorYes
limitationsYes
total_findingsYes
browser_executedYes
coverage_limitedYes
network_isolatedYes
requests_blockedYes
scripts_disabledYes
findings_truncatedYes
lighthouse_versionYes
performance_score_percentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.53

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare read-only, idempotent, closed-world, non-destructive; the description goes far beyond by disclosing that scripts and embedded frames are stripped, outbound requests are denied, output is redacted, and there is a fixed 75-second deadline plus a 180 KB HTML cap. It also warns of CPU/memory load, which an agent needs to sequence calls sensibly.

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?

Tight and front-loaded with the local-only constraint first, then capability, then limits and cost. It is one dense paragraph with heavy jargon (V11-LAB, TBT, CrUX) but nearly every clause carries information an agent needs; only the metric enumeration partially duplicates the output schema.

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?

For a sandboxed measurement tool with an output schema and full annotation coverage, the definition covers input constraints, isolation guarantees, resource cost, and hard timeouts. Nothing material for correct invocation appears missing, and return values are appropriately left to the output schema.

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%, so the baseline is 3, but the description adds real meaning beyond it: the HTML is 'caller-supplied' and 'not fetched or stored', and it is served at a synthetic isolated proxy origin, which tells the agent how the input is treated. form_factor is not elaborated on in the description, leaving that dimension to the schema enum.

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?

States a specific verb and resource stack: 'run the real Lighthouse engine once in pinned sandboxed Chromium against caller-supplied HTML served at a synthetic, isolated local proxy origin.' It also scopes itself negatively ('no production URL, remote CSS/JS, CrUX field INP, ranking or indexing verdict'), which separates it from lab-vs-field siblings like performance.crux_field.

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?

Usage context is clear: local-only lab measurement on supplied static HTML, not against a live production URL. The explicit exclusions (no CruX field INP, no remote resources, no indexing verdict) implicitly route the agent elsewhere, but no sibling tool is named as the alternative and no prerequisites beyond the HTML cap are stated.

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