GA4 properties
ga4_propertiesLists Google Analytics 4 accounts and properties the authorized account can read, so assistants can find the correct property_id for report or realtime queries.
Instructions
GA4 accounts and properties the authorized Google account can read (Admin API accountSummaries), so the assistant can find a property id itself and pass it as property_id to ga4_report or ga4_realtime. Returns {"properties": [{property_id, property_name, property_type, account_id, account_name, configured}], "configured_property_id"}. Needs the Google Analytics Admin API enabled; no extra OAuth scope. With a client registry each property also says whether it belongs to the client ("owned"): only those can be queried.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ga4_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | No | Client id from clients_list. Required when several clients are registered; empty uses the only client (or the environment variables when there is no client registry) | |
| max_pages | No | Pages of 200 accounts to read at most |