Skip to main content
Glama
SEOBlogBot

SEOBlogBot

Official
by Citability

Analyze Core Web Vitals

analyze-core-web-vitals

Measure LCP, INP, and CLS plus PageSpeed performance scores for a URL to diagnose Google ranking issues.

Instructions

Get Core Web Vitals (LCP, INP, CLS) and performance score via PageSpeed Insights API. Essential for understanding Google ranking factors.

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": "analyze-core-web-vitals"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL to analyze
strategyNoDevice strategy (default: mobile - what Google uses for ranking)mobile

Output Schema

NameRequiredDescriptionDefault
urlYes
metricsYes
strategyYes
diagnosticsYes
opportunitiesYes
performanceScoreYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full burden. It does disclose the meaningful behavioral facts that this proxies an external third-party API (PageSpeed Insights) and that it is a read-only 'Get', but it omits operational realities of that dependency such as latency, rate limits, quotas, or API key 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 sentences, zero filler: the first front-loads what is returned and via which API, the second supplies the motivating reason to call it. Nothing is repeated from the schema or 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?

An output schema exists and both parameters are fully documented in the schema, so the description need not explain return values or inputs. It covers purpose, source, and motivation adequately; the only gap is the absence of any note on the external API's cost/latency characteristics.

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%, and the schema itself already explains both the url and the strategy enum including the ranking rationale for mobile. The description adds no meaning beyond those structured fields, so the baseline of 3 applies.

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 Core Web Vitals (LCP, INP, CLS) and performance score') and even names the backing service (PageSpeed Insights API), so the agent knows exactly what it returns. It stops short of distinguishing itself from the sibling audit-lighthouse, which an agent could reasonably confuse it with.

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 phrase 'Essential for understanding Google ranking factors' implies a context of use (SEO/ranking assessment), which is useful but indirect. There is no explicit when-not-to-use guidance and no named alternative, even though audit-lighthouse sits in the sibling set as an obvious near-neighbor.

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