ga4_list_account_summaries

List GA4 Accounts & Properties

Ga4

Description

List every GA4 account and property visible to the connected Google account (Admin API accountSummaries). Use this tool first to discover which properties are available before calling other GA4 tools. Results are cached; pass refresh=true only when you need the latest list. Args: limit (number, optional): Max accounts per page (default 20, max 200). cursor (string, optional): Opaque pagination cursor from a previous response's pagination.nextCursor. refresh (bool, optional): Force a fresh fetch from the API, bypassing cache. Default: false. Returns: data: accounts (each with account resource name, display_name, and properties[] of { property_id, display_name, property_type, parent }). count (total accounts), property_count (total properties), cached, synced_at, and pagination { hasMore, nextCursor }.

Read-onlyOpen-world

Usage

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ga4_list_account_summaries",
    "arguments": {
      "reason": "Discover which GA4 properties are available"
    }
  }
}

Parameters

NameTypeRequiredDescription
reason string Required Why this tool call is neededminLength: 1, maxLength: 500
Optional parameters (3)
NameTypeRequiredDescription
limit integer Optional Max accounts per page (default 20).min: 1, max: 200
cursor string Optional Opaque pagination cursor from a previous response's pagination.nextCursor. Do not construct by hand.
refresh boolean Optional Force a fresh fetch from the Admin API, bypassing the cache. Default: false.

Examples

List accounts & properties

{
  "reason": "Discover which GA4 properties are available"
}

hopkin ga4 -account-summaries

Next page

{
  "limit": 20,
  "cursor": "eyJvZmZzZXQiOjIwfQ==",
  "reason": "Fetch the next page of accounts"
}

hopkin ga4 -account-summaries --limit 20 --cursor eyJvZmZzZXQiOjIwfQ==

Force refresh

{
  "refresh": true,
  "reason": "Need the latest account/property list"
}

hopkin ga4 -account-summaries --refresh true