Skip to main content
Glama

Get Lighthouse performance reports

get_lighthouse_reports
Read-onlyIdempotent

Get the most recent Google Lighthouse reports for a monitor: performance, accessibility, best practices and SEO scores, Core Web Vitals metrics, and the issues that were flagged. See https://ohdear.app/docs/api/lighthouse.

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": {
      "monitor_id": "<monitor_id>"
    },
    "name": "get_lighthouse_reports"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of latest reports to return (default: 5, max: 50)
monitor_idYesThe ID of the monitor to get Lighthouse reports for
include_json_reportNoInclude the full JSON report of the newest report, as latest_report.json_report (default: false)

Output Schema

NameRequiredDescriptionDefault
checkNo
messageNo
monitorYes
reportsNoLighthouse reports.
view_urlYes
check_typeNo
check_enabledNo
latest_reportNo
reports_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / include_json_report / description
      Previous value: -"Include full JSON report data (default: false)"New value: +"Include the full JSON report of the newest report, as latest_report.json_report (default: false)"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered without the description. The description adds that results are the 'most recent' reports and points to external API docs, but says nothing about pagination, ordering guarantees, or what happens when a monitor has no reports.

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, front-loaded sentence that leads with the verb and resource, followed by a documentation URL. Nothing is redundant, though the enumeration is long enough that a slightly tighter phrasing was possible.

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?

An output schema exists, so return values need not be spelled out, and the description still previews the returned score categories. For a three-parameter read-only tool this covers what an agent needs, with only edge cases like empty result sets left implicit.

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 coverage is 100%, so limit, monitor_id, and include_json_report are fully documented in the schema with defaults and bounds. The description adds no parameter-level detail beyond implying recency ordering; baseline 3 is appropriate when the schema carries the load.

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?

States a specific verb and resource ('Get the most recent Google Lighthouse reports for a monitor') and enumerates what the reports contain: performance, accessibility, best practices, SEO scores, Core Web Vitals, and flagged issues. It is clear what the tool returns, though it never distinguishes itself from sibling per-monitor read tools like get_application_health or get_check_summary.

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?

The description gives no explicit when-to-use guidance, no conditions that select it over similar per-monitor read tools, and no prerequisites. Usage is only implied by the phrase 'for a monitor' and the tool name, leaving the agent to infer the context.

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.

Resources