What it does
When Google Analytics is enabled on an agent, the agent can automatically query analytics data as part of its reasoning process. You ask a question or give it a task — the agent decides when and how to use your analytics account on your behalf.Prerequisites
You must have an active Google Analytics connection in your workspace before enabling this tool. If no active connection exists, the toggle is disabled.- Go to Integrations for your workspace.
- Find Google Analytics in the integrations grid.
- Click Connect and complete the OAuth flow.
- Return to your agent and enable the tool.
Adding the tool to an agent
- Open an agent in the editor.
- Click the button with the tooltip Add MCP Tool or Sub Agent.
- In MCP Tools, click Google Analytics. The Google Analytics node appears on the canvas.
- Click the node to open the Settings panel on the right.
- In the Authentication field, select the connected Google Analytics account the agent should use.
- If no active connection is found, the settings panel shows a warning with a link to Integrations to connect first.
Available actions
Agents can use all enabled Google Analytics actions, including:- Get Metadata
- Check Compatibility
- List Account Summaries
- List Property
- Get Property
- Run Report
- Run Realtime Report
- Batch Run Reports
Use cases
- Pull traffic, acquisition, and engagement reports for the last 30 days.
- Discover valid dimensions and metrics before building a custom report.
- List GA4 accounts and properties to confirm the agent is targeting the right resource.
- Retrieve property details for validation or setup workflows.
Notes
- The agent uses your connected Google Analytics account to perform actions. Make sure the OAuth connection has access to the properties your workflows need.
- This tool counts as 1 credit per action the agent performs.
- OAuth may show third-party authorization branding during the connect flow.

