Analysis Toolswordpress_get_core_web_vitals
Analysis Tools

wordpress_get_core_web_vitals

Get Core Web Vitals metrics (LCP, FID, CLS) for a WordPress page.

wordpress_get_core_web_vitals

Get Core Web Vitals metrics (LCP, FID, CLS) for a page.

Parameters

ParameterTypeRequiredDescription
pageIdnumberYesWordPress page ID to analyze

Response

{
  "success": true,
  "metrics": {
    "lcp_ms": 2400,
    "fid_ms": 35,
    "cls": 0.06
  },
  "ratings": {
    "lcp": "needs-improvement",
    "fid": "good",
    "cls": "good"
  }
}

Example Prompts

  • "Get Core Web Vitals for my homepage"
  • "What are the LCP/FID/CLS scores for page 42?"
  • "Check CLS on the pricing page"

Full Example

Prompt: "Get Core Web Vitals for page 42"

Response:

{
  "success": true,
  "metrics": {
    "lcp_ms": 1800,
    "fid_ms": 22,
    "cls": 0.02
  },
  "ratings": {
    "lcp": "good",
    "fid": "good",
    "cls": "good"
  }
}

Notes

  • Read-only tool - doesn’t modify content
  • Use it to establish a baseline before/after performance changes
Was this page helpful?
Built with Documentation.AI

Last updated Dec 15, 2025