Skip to main content
Glama
NicolasET

MCP PageSpeed Insights

by NicolasET

Analyze URL

analyze_url

Run Google PageSpeed Insights on a URL to obtain all category scores, key performance metrics, and top improvement opportunities.

Instructions

Run a comprehensive Google PageSpeed Insights analysis on a URL. Returns all category scores, key performance metrics, and top improvement opportunities.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe full URL to analyze (e.g., https://example.com)
strategyNoDevice strategy for the analysismobile
categoriesNoLighthouse categories to include

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden but only restates the return contents. It omits operationally important traits of a remote PageSpeed Insights call: expected latency, rate limits, whether the request is cached, and any auth/permission requirements.

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?

Two tight sentences with zero filler; the action is front-loaded and the second sentence cleanly covers what comes back.

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?

With no output schema, the description does sketch the return payload (scores, metrics, opportunities), which is helpful. But for a slow external-API tool that overlaps heavily with nine siblings, it should do more to explain selection and behavior.

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 url, strategy, and categories are already fully documented in the schema. The description adds no syntax, default, or format detail beyond what the schema provides, making the baseline 3 appropriate.

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 ('Run a ... Google PageSpeed Insights analysis on a URL') and the scope ('comprehensive', 'all category scores'). However, it never names or contrasts itself against the many granular siblings (get_performance_metrics, get_recommendations, get_js_analysis, etc.), so the agent must infer that this is the aggregate superset rather than one of the focused tools.

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 word 'comprehensive' implies this is the all-in-one entry point, but the description gives no explicit when-to-use versus when-to-prefer-a-sibling, and no prerequisites. Usage is only implied, not stated.

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