Skip to main content
Glama

GSCPAP - Google Search Console, GA4, Bing Webmaster Tools & PageSpeed MCP

Real-user Core Web Vitals

pagespeed_field_data
Read-only

Get real-user Core Web Vitals (Chrome UX Report) for a public URL.

Returns what Chrome users actually experienced over the last 28 days: LCP / INP / CLS / FCP / TTFB at the 75th percentile, plus the rating bucket (FAST / AVERAGE / SLOW). These are the Core Web Vitals Google uses in ranking. Use this for "what do my actual users see?"; use pagespeed_insights for a lab test and fix suggestions.

Returns both URL-level and origin-level (whole site) metrics. Many low-traffic URLs have no URL-level data but still get origin-level data.

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe fully qualified public URL, e.g. "https://example.com/pricing".
weeksNoHow many weekly points the trend covers, 1 to 40 (default 25, about six months).
intentNoOptional: the user's goal in a few words. No site names or URLs.
sourceNo"crux" (default) reads the Chrome UX Report API directly and answers in about a second. "pagespeed" reads the same real-user block from a full PageSpeed Insights run (15 to 45 seconds), for when the user asks for the PageSpeed Insights figures as shown on pagespeed.web.dev. If the CrUX API is unavailable, "crux" falls back to "pagespeed" and says so.crux
historyNoTrue adds a weekly trend of the p75 values (CrUX History API), to answer "did my Core Web Vitals improve after the change?". Only with source "crux".
strategyNo"mobile" (default) or "desktop": which device class the real-user data covers.mobile

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "Optional: the user's goal in a few words. No site names or URLs.",
      +  "type": "string"
      +}
  2. Changed5 schema fields changed
    • addedInput schema / properties / history
      Added value: +{
      +  "default": false,
      +  "description": "True adds a weekly trend of the p75 values (CrUX History\nAPI), to answer \"did my Core Web Vitals improve after the\nchange?\". Only with source \"crux\".",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / source
      Added value: +{
      +  "default": "crux",
      +  "description": "\"crux\" (default) reads the Chrome UX Report API directly and\nanswers in about a second. \"pagespeed\" reads the same real-user\nblock from a full PageSpeed Insights run (15 to 45 seconds), for\nwhen the user asks for the PageSpeed Insights figures as shown on\npagespeed.web.dev. If the CrUX API is unavailable, \"crux\" falls\nback to \"pagespeed\" and says so.",
      +  "type": "string"
      +}
    • changedInput schema / properties / strategy / description
      Previous value: -"\"mobile\" or \"desktop\". Affects the device class CrUX\naggregates over."New value: +"\"mobile\" (default) or \"desktop\": which device class the\nreal-user data covers."
    • changedInput schema / properties / url / description
      Previous value: -"The fully qualified public URL to look up."New value: +"The fully qualified public URL, e.g. \"https://example.com/pricing\"."
    • addedInput schema / properties / weeks
      Added value: +{
      +  "default": 25,
      +  "description": "How many weekly points the trend covers, 1 to 40 (default 25,\nabout six months).",
      +  "type": "integer"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only, open-world and non-destructive behavior, and the description adds the 28-day window, the exact metrics reported, the 75th-percentile basis and the FAST/AVERAGE/SLOW bucket. It also warns that URL-level data is often absent for low-traffic URLs, which is real behavioral insight; latency and API-fallback details live in the schema rather than the description, keeping this just below the top.

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?

Front-loaded with the core purpose, then metrics, then the alternative-tool routing, then the URL/origin caveat. Short paragraphs, no filler, every sentence carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists so return values need not be described, annotations carry the safety profile, and the description covers scope, metric set, semantics of real-user vs lab data, and the low-traffic edge case. Nothing an agent needs to call this correctly is missing.

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 every parameter (url, weeks, intent, source, history, strategy) is already fully documented with defaults and constraints. The description adds no parameter-level detail beyond the URL/origin distinction, so the baseline of 3 applies.

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?

States a specific verb and resource ('Get real-user Core Web Vitals (Chrome UX Report) for a public URL') and immediately distinguishes itself from the sibling pagespeed_insights by contrasting real-user vs lab data. An agent can pick the right tool without opening the schema.

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?

Gives an explicit selection rule: 'Use this for "what do my actual users see?"; use `pagespeed_insights` for a lab test and fix suggestions.' It also adds a fallback rule for low-traffic URLs where URL-level data is missing but origin-level data still exists.

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.