API Reference

Google Analytics 4 / API Reference

ga4_core_web_vitals

GA4 analytics tool. Return Core Web Vitals data from GA4 (LCP, FID/INP, CLS) broken down by page path. Args: property_id: GA4 property ID start_date: YYYY-MM-DD (default: 28 days ago) end_date: YYYY-MM-DD (default: today) limit: Max page rows to return (default: 25)

This is a read-only tool: it returns core web vitals for your Google Analytics 4 account. It changes nothing.

Ask Claude

You do not call this tool yourself. Ask for the outcome and the client picks the tool:

Core web vitals in my Google Analytics 4 account.

It takes 1 required and 3 optional parameters.

Parameters

ParameterTypeRequiredDescription
property_idstringYesProperty Id
start_datestringNoStart Date
end_datestringNoEnd Date
limitintegerNoLimit

Related Google Analytics 4 tools

Before you can call it

This tool needs a connected Google Analytics 4 account. The Google Analytics 4 connect guide covers the OAuth flow and the permissions it asks for, and the quickstart gets a client talking to the server in about five minutes.

Workflows that use this

Rather than calling tools one at a time, these skills run a whole procedure against the same account:

Start using MCP Ads