Skip to main content
Glama
SEO Advisor

SEO Advisor

by andriantam

Lighthouse / PageSpeed report

psi_report
Read-onlyIdempotent

Run PageSpeed Insights audits without local Chrome to get Lighthouse performance, accessibility, best-practices and SEO scores, Core Web Vitals lab and field data, and top failing audits for any URL on mobile or desktop.

Instructions

Runs Lighthouse through the PageSpeed Insights API (no local Chrome needed). Returns performance, accessibility, best-practices and SEO scores, lab metrics (LCP, TBT, CLS), real-user field data from the Chrome UX Report when available, and the top failing audits. Takes up to a minute. Heavy pages can score very differently on mobile and desktop, so check both.

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe full page URL to test.
strategyNomobile

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), and the description adds genuinely new behavior: no local Chrome required, an expected runtime of up to a minute, and that field data appears only 'when available'. It does not mention API quota/rate-limit behavior, which is the main remaining gap for a third-party API call.

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 tight sentences: what it is, what it returns, how long it takes, and the caveat. Capability is front-loaded and every sentence carries distinct information.

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?

With only two parameters and no output schema, the description covers return contents, latency, and the conditional nature of field data, which is enough to call it correctly. Quota/limits for the PSI API and error behavior are the only notable omissions.

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 50%: url is documented but strategy has only an enum and default with no explanation. The description compensates by explaining that mobile and desktop can diverge sharply and advising to check both, giving the strategy parameter real decision meaning.

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: runs Lighthouse via the PageSpeed Insights API and returns performance, accessibility, best-practices and SEO scores plus field data. The mention of Lighthouse/PSI implicitly separates it from 'seo_audit_page' and 'gsc_inspect_url', but no sibling is named or contrasted directly.

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 only usage steering is 'Heavy pages can score very differently on mobile and desktop, so check both', which guides the strategy choice. There is no explicit when-to-use versus 'seo_audit_page' or 'gsc_inspect_url', nor any when-not condition.

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