Skip to main content
Glama

Landing page speed (PageSpeed Insights)

landing_page_speed
Read-only

Diagnose ad landing page speed using PageSpeed Insights Core Web Vitals and Lighthouse scores, then identify high-impact fixes when clicks fail to convert.

Instructions

Google PageSpeed Insights: whether real visitors get a fast page (Core Web Vitals from Chrome, last 28 days), a Lighthouse score, and the fixes worth most. Use it on ad landing pages (from landing_page_view or analytics_landing_pages) when clicks don't convert; landing-page experience is part of Quality Score. Any public URL. Takes 10-40s. Changes nothing.

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": {
      "urls": "<urls>"
    },
    "name": "landing_page_speed"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesPage URLs, up to 5
fixesNoFixes per page
strategyNoDevice to test asmobile

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.28.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral context: a 10-40s latency expectation, the 28-day data window, and the source of the field data (real Chrome visitors vs. synthetic Lighthouse). It does not mention failure modes for unreachable URLs, which is the only notable gap.

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?

It is a single tight paragraph that front-loads what the tool returns, then when to use it, then the URL precondition and latency. Every clause carries information, and there is no filler or repetition of the title.

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 no output schema, the description must convey return values, and it does: field CWV, a Lighthouse score, and ranked fixes. Latency and data window are also covered. Only the shape of the response (per-URL objects, error handling for failed URLs) is left unstated, which is minor for a read-only diagnostic.

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 100%, so 'urls', 'fixes', and 'strategy' are already documented, including the enum and the max of 5 URLs. The description adds only soft hints ('Any public URL', 'fixes worth most') and gives no detail on the mobile/desktop strategy choice or the per-page fix cap, so it does not exceed the schema.

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?

The description names the specific service (Google PageSpeed Insights) and the exact resources it returns: real-visitor Core Web Vitals from Chrome, a Lighthouse score, and prioritized fixes. No sibling tool covers page speed, so this is unmistakably distinct from analytics_landing_pages, search_console_inspect_urls, and the rest.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the trigger ('when clicks don't convert'), names where the URLs should come from ('from landing_page_view or analytics_landing_pages'), and justifies the check via Quality Score. It also sets the input precondition ('Any public URL'), so an agent knows both when to call it and what to pass.

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