Skip to main content
Glama

SEO GSC Wizard MCP

GA4 traffic from AI assistants

get_ga4_llm_traffic
Read-only

Use this when the user asks how much traffic AI assistants such as ChatGPT send to the site. Sessions, engagement, conversions (key events) and revenue referred to the site by ChatGPT, Perplexity, Microsoft Copilot, Google Gemini, Claude and 13 other AI assistants (identified by referrer domain and combined with GA4's own "AI Assistant" channel), from the GA4 property linked to the site, with the share of total traffic they represent and per-assistant and per-landing-page breakdowns, both sorted by sessions, highest first (sourceTimeseries by date). Not for every referral source: use query_ga4_report (dimension sourceMedium). Note: Google AI Overviews / AI Mode traffic carries no distinct referrer, is indistinguishable from google/organic, and is NOT included. llmShareOfSessions, engagementRate and bounceRate are fractions 0-1, not percentages. An assistant's activeUsers adds up its referrer domains (e.g. chatgpt.com + chat.openai.com), so a user who came through two of them counts twice; summary.activeUsers is exact. Returns a notConfigured result when Google Analytics is not connected or no GA4 property is linked. Date range is optional: omit startDate/endDate to analyze the last 28 settled days (data lags ~2-3 days).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "siteUrl": "<siteUrl>"
    },
    "name": "get_ga4_llm_traffic"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of landing page rows returned.
endDateNoOptional. Window end as YYYY-MM-DD (e.g. 2026-05-31). You do NOT need to know today's date or the latest available date: omit this and the server uses the latest settled Search Console date (data lags ~2-3 days behind today). Never pass null or the string "null".
siteUrlYes
startDateNoOptional. Window start as YYYY-MM-DD (e.g. 2026-05-03). You do NOT need to know today's date. Omit BOTH startDate and endDate to analyze the last 28 settled days automatically (Search Console data lags ~2-3 days). Never pass null or the string "null".
comparisonEndDateNoOptional. End of the comparison period as YYYY-MM-DD. Provide BOTH comparison dates to compare two periods; omit both for no comparison (prev* fields are then 0 and hasComparison false).
includeDailySplitNoInclude a per-assistant daily sessions split for the current period.
comparisonStartDateNoOptional. Start of the comparison period as YYYY-MM-DD. Provide BOTH comparison dates to compare two periods; omit both for no comparison (prev* fields are then 0 and hasComparison false).

Output Schema

NameRequiredDescriptionDefault
newNo
hintNo
kindNoWidget variant: "kpis", "table", or "sections".
kpisNoKPI cards (kind="kpis").
lostNo
noteNoCaveat about the result, when the tool returned one.
rowsNoData rows (kind="table"), each with every field of the tool's own row; columns name the ones drawn.
notesNoCaveats about the result, when the tool returned several.
rangeNoThe window the numbers cover.
scopeNoThe brand, content group or topic cluster filter these numbers are narrowed to; absent when the call was unscoped and the numbers cover the whole property.
titleNo
blocksNoStacked sub-blocks (kind="sections").
countsNoget_ranking_changes: the full size of each bucket before `limit`.
deltasNoget_site_summary: current minus previous (ctrPoints in percentage points).
reasonNo
sourceNo
thenByNoSecondary sort field, when the tool states one.
accountNo
columnsNoColumn defs (kind="table").
currentNoget_site_summary: the window's totals (ctr 0-100, impression-weighted avgPosition).
summaryNoMetric totals keyed by GA4 metric name.
warningNoA caveat that changes how the numbers read.
coverageNoHow much of the property total the returned rows cover, with the property totals inline. Quote totals from here; do not sum the rows.
declinedNo
improvedNo
nextStepNo
orderingNoSort order per list, when the result holds several lists.
previousNoget_site_summary: the comparison window's totals.
sortedByNoRow field the rows are sorted by.
timeZoneNoGA4 property's IANA reporting time zone.
dailyRowsNoget_site_summary: the window day by day, oldest first.
dimensionNo
emptyTextNo
scanLimitNo
siteScopeNoSet when GA4 numbers were narrowed to this site's hostnames because the property is shared with other sites.
sortOrderNo"asc" or "desc".
thenOrderNoThe tie-break's direction, present only when it differs from sortOrder.
totalRowsNo
assistantsNoget_ga4_llm_traffic: one row per AI assistant (the table rows).
comparisonNoThe comparison window (get_site_summary, get_ranking_changes).
dataSourceNoWhere the numbers were read from: the warehouse or the live API.
hasRevenueNo
paginationNoWhere this page of rows sits in the whole result, and how to fetch the next one.
timeseriesNoget_ga4_overview with includeTimeseries: daily points, oldest first.
partialDaysNoRequested days after settledThrough; their numbers are still incomplete.
prevSummaryNoThe comparison period's totals; null when it has no GA4 data.
currencyCodeNo
dataMaturityNo
emptyBecauseNo
ga4OnlyCountNo
gscOnlyCountNo
hasEcommerceNo
landingPagesNoget_ga4_llm_traffic: landing pages of AI assistant sessions.
matchedCountNo
methodLimitsNo
hasComparisonNo
notConfiguredNo
totalSessionsNo
prevTimeseriesNoThe comparison period's daily points; null when it has no GA4 data.
reauthRequiredNo
settledThroughNoLast day the data is complete through.
comparisonRangeNoThe comparison window of a GA4 view tool; null when there is none.
ecommerceSummaryNo
sourceTimeseriesNoget_ga4_llm_traffic with includeDailySplit: daily sessions per assistant.
comparisonHasDataNofalse when the comparison period has no data at all, so there is no comparison.
matchedClickShareNoA 0-1 fraction of the named-query clicks the estimates cover.
prevTotalSessionsNo
previousDailyRowsNoget_site_summary: the comparison window day by day, oldest first; absent for a window over 180 days.
llmShareOfSessionsNoA 0-1 fraction.
coverageUnavailableNoWhy coverage is null, when it is.
warehouseLatestDateNoNewest day the warehouse holds for the property; days after it in the range are missing, not zero.
prevEcommerceSummaryNo
prevLlmShareOfSessionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed42 schema fields changed
    • changedOutput schema / description
      Previous value: -"Rendered view model consumed by the GSC Wizard widget."New value: +"Rendered view model consumed by the GSC Wizard widget, plus the result data the tool description promises."
    • addedOutput schema / properties / assistants
      Added value: +{
      +  "$ref": "#/properties/timeseries",
      +  "description": "get_ga4_llm_traffic: one row per AI assistant (the table rows)."
      +}
    • addedOutput schema / properties / comparison
      Added value: +{
      +  "$ref": "#/properties/range",
      +  "description": "The comparison window (get_site_summary, get_ranking_changes)."
      +}
    • addedOutput schema / properties / comparisonRange
      Added value: +{
      +  "$ref": "#/properties/range",
      +  "description": "The comparison window of a GA4 view tool; null when there is none."
      +}
    • addedOutput schema / properties / counts
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "declined": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        },
      +        "improved": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        },
      +        "lost": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        },
      +        "new": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "get_ranking_changes: the full size of each bucket before `limit`."
      +}
    • addedOutput schema / properties / currencyCode
      Added value: +{
      +  "$ref": "#/properties/title"
      +}
    • addedOutput schema / properties / current
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "avgPosition": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        },
      +        "clicks": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        },
      +        "ctr": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        },
      +        "impressions": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "get_site_summary: the window's totals (ctr 0-100, impression-weighted avgPosition)."
      +}
    • addedOutput schema / properties / dailyRows
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "clicks": {
      +            "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +          },
      +          "ctr": {
      +            "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +          },
      +          "date": {
      +            "$ref": "#/properties/title"
      +          },
      +          "impressions": {
      +            "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +          },
      +          "position": {
      +            "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "get_site_summary: the window day by day, oldest first."
      +}
    • addedOutput schema / properties / dataSource
      Added value: +{
      +  "$ref": "#/properties/kind",
      +  "description": "Where the numbers were read from: the warehouse or the live API."
      +}
    • addedOutput schema / properties / declined
      Added value: +{
      +  "$ref": "#/properties/improved"
      +}
    • addedOutput schema / properties / deltas
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "clicks": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        },
      +        "ctrPoints": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        },
      +        "impressions": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        },
      +        "positionDelta": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "get_site_summary: current minus previous (ctrPoints in percentage points)."
      +}
    • addedOutput schema / properties / dimension
      Added value: +{
      +  "$ref": "#/properties/title"
      +}
    • addedOutput schema / properties / ecommerceSummary
      Added value: +{
      +  "$ref": "#/properties/kpis/items"
      +}
    • addedOutput schema / properties / ga4OnlyCount
      Added value: +{
      +  "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +}
    • addedOutput schema / properties / gscOnlyCount
      Added value: +{
      +  "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +}
    • addedOutput schema / properties / hasComparison
      Added value: +{
      +  "$ref": "#/properties/notConfigured"
      +}
    • addedOutput schema / properties / hasEcommerce
      Added value: +{
      +  "$ref": "#/properties/notConfigured"
      +}
    • addedOutput schema / properties / hasRevenue
      Added value: +{
      +  "$ref": "#/properties/notConfigured"
      +}
    • addedOutput schema / properties / improved
      Added value: +{
      +  "$ref": "#/properties/timeseries"
      +}
    • addedOutput schema / properties / landingPages
      Added value: +{
      +  "$ref": "#/properties/timeseries",
      +  "description": "get_ga4_llm_traffic: landing pages of AI assistant sessions."
      +}
    • addedOutput schema / properties / llmShareOfSessions
      Added value: +{
      +  "$ref": "#/properties/pagination/anyOf/0/properties/limit",
      +  "description": "A 0-1 fraction."
      +}
    • addedOutput schema / properties / lost
      Added value: +{
      +  "$ref": "#/properties/improved"
      +}
    • addedOutput schema / properties / matchedClickShare
      Added value: +{
      +  "$ref": "#/properties/pagination/anyOf/0/properties/limit",
      +  "description": "A 0-1 fraction of the named-query clicks the estimates cover."
      +}
    • addedOutput schema / properties / matchedCount
      Added value: +{
      +  "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +}
    • addedOutput schema / properties / new
      Added value: +{
      +  "$ref": "#/properties/improved"
      +}
    • addedOutput schema / properties / pagination
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "hasMore": {
      +          "$ref": "#/properties/notConfigured"
      +        },
      +        "limit": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "nextOffset": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        },
      +        "note": {
      +          "$ref": "#/properties/title"
      +        },
      +        "offset": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        },
      +        "returned": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Where this page of rows sits in the whole result, and how to fetch the next one."
      +}
    • addedOutput schema / properties / prevEcommerceSummary
      Added value: +{
      +  "$ref": "#/properties/kpis/items"
      +}
    • addedOutput schema / properties / prevLlmShareOfSessions
      Added value: +{
      +  "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +}
    • addedOutput schema / properties / prevSummary
      Added value: +{
      +  "$ref": "#/properties/summary",
      +  "description": "The comparison period's totals; null when it has no GA4 data."
      +}
    • addedOutput schema / properties / prevTimeseries
      Added value: +{
      +  "$ref": "#/properties/timeseries",
      +  "description": "The comparison period's daily points; null when it has no GA4 data."
      +}
    • addedOutput schema / properties / prevTotalSessions
      Added value: +{
      +  "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +}
    • addedOutput schema / properties / previous
      Added value: +{
      +  "$ref": "#/properties/current",
      +  "description": "get_site_summary: the comparison window's totals."
      +}
    • addedOutput schema / properties / previousDailyRows
      Added value: +{
      +  "$ref": "#/properties/dailyRows",
      +  "description": "get_site_summary: the comparison window day by day, oldest first; absent for a window over 180 days."
      +}
    • addedOutput schema / properties / range
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "days": {
      +          "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +        },
      +        "endDate": {
      +          "$ref": "#/properties/title"
      +        },
      +        "startDate": {
      +          "$ref": "#/properties/title"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The window the numbers cover."
      +}
    • changedOutput schema / properties / rows / description
      Previous value: -"Data rows (kind=\"table\")."New value: +"Data rows (kind=\"table\"), each with every field of the tool's own row; columns name the ones drawn."
    • addedOutput schema / properties / scanLimit
      Added value: +{
      +  "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +}
    • addedOutput schema / properties / sourceTimeseries
      Added value: +{
      +  "$ref": "#/properties/timeseries",
      +  "description": "get_ga4_llm_traffic with includeDailySplit: daily sessions per assistant."
      +}
    • addedOutput schema / properties / summary
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {
      +        "$ref": "#/properties/kpis/items"
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Metric totals keyed by GA4 metric name."
      +}
    • addedOutput schema / properties / timeseries
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "$ref": "#/properties/kpis/items"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "get_ga4_overview with includeTimeseries: daily points, oldest first."
      +}
    • addedOutput schema / properties / totalRows
      Added value: +{
      +  "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +}
    • addedOutput schema / properties / totalSessions
      Added value: +{
      +  "$ref": "#/properties/pagination/anyOf/0/properties/limit"
      +}
    • addedOutput schema / properties / warehouseLatestDate
      Added value: +{
      +  "$ref": "#/properties/kind",
      +  "description": "Newest day the warehouse holds for the property; days after it in the range are missing, not zero."
      +}
  2. Changed21 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • addedOutput schema / properties / account
      Added value: +{
      +  "$ref": "#/properties/title"
      +}
    • addedOutput schema / properties / coverage
      Added value: +{
      +  "description": "How much of the property total the returned rows cover, with the property totals inline. Quote totals from here; do not sum the rows."
      +}
    • addedOutput schema / properties / coverageUnavailable
      Added value: +{
      +  "$ref": "#/properties/kind",
      +  "description": "Why coverage is null, when it is."
      +}
    • changedOutput schema / properties / dataMaturity / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "dateBasis": {
      -        "$ref": "#/properties/title"
      -      },
      -      "firstIncompleteDate": {
      -        "$ref": "#/properties/title"
      -      },
      -      "note": {
      -        "$ref": "#/properties/title"
      -      },
      -      "probe": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "dataState": {
      -                "$ref": "#/properties/title"
      -              },
      -              "endDate": {
      -                "$ref": "#/properties/title"
      -              },
      -              "searchType": {
      -                "$ref": "#/properties/title"
      -              },
      -              "startDate": {
      -                "$ref": "#/properties/title"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "settledThrough": {
      -        "$ref": "#/properties/title"
      -      },
      -      "source": {
      -        "$ref": "#/properties/title"
      -      },
      -      "warehouseCutoff": {
      -        "$ref": "#/properties/title"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "dateBasis": {
      +        "$ref": "#/properties/title"
      +      },
      +      "firstIncompleteDate": {
      +        "$ref": "#/properties/title"
      +      },
      +      "note": {
      +        "$ref": "#/properties/title"
      +      },
      +      "probe": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": true,
      +            "properties": {
      +              "dataState": {
      +                "$ref": "#/properties/title"
      +              },
      +              "endDate": {
      +                "$ref": "#/properties/title"
      +              },
      +              "searchType": {
      +                "$ref": "#/properties/title"
      +              },
      +              "startDate": {
      +                "$ref": "#/properties/title"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "settledThrough": {
      +        "$ref": "#/properties/title"
      +      },
      +      "source": {
      +        "$ref": "#/properties/title"
      +      },
      +      "warehouseCutoff": {
      +        "$ref": "#/properties/title"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / emptyBecause
      Added value: +{
      +  "$ref": "#/properties/title"
      +}
    • addedOutput schema / properties / hint
      Added value: +{
      +  "$ref": "#/properties/title"
      +}
    • addedOutput schema / properties / methodLimits
      Added value: +{
      +  "$ref": "#/properties/title"
      +}
    • addedOutput schema / properties / nextStep
      Added value: +{
      +  "$ref": "#/properties/title"
      +}
    • addedOutput schema / properties / notConfigured
      Added value: +{
      +  "$ref": "#/properties/comparisonHasData"
      +}
    • addedOutput schema / properties / ordering
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "sortOrder": {
      +            "$ref": "#/properties/title"
      +          },
      +          "sortedBy": {
      +            "$ref": "#/properties/title"
      +          },
      +          "thenBy": {
      +            "$ref": "#/properties/title"
      +          },
      +          "thenOrder": {
      +            "$ref": "#/properties/title"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Sort order per list, when the result holds several lists."
      +}
    • addedOutput schema / properties / partialDays
      Added value: +{
      +  "$ref": "#/properties/siteScope/anyOf/0/properties/hostnames",
      +  "description": "Requested days after settledThrough; their numbers are still incomplete."
      +}
    • addedOutput schema / properties / reason
      Added value: +{
      +  "$ref": "#/properties/title"
      +}
    • addedOutput schema / properties / reauthRequired
      Added value: +{
      +  "$ref": "#/properties/notConfigured"
      +}
    • addedOutput schema / properties / scope
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "brand": {
      +          "$ref": "#/properties/kind",
      +          "description": "\"branded\" or \"non_branded\"."
      +        },
      +        "brandKeywordsSkipped": {
      +          "$ref": "#/properties/siteScope/anyOf/0/properties/hostnames",
      +          "description": "Branded keywords that could not be compiled and were left out of the filter."
      +        },
      +        "contentGroup": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "properties": {
      +                "id": {
      +                  "$ref": "#/properties/title"
      +                },
      +                "name": {
      +                  "$ref": "#/properties/title"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "topicCluster": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "properties": {
      +                "id": {
      +                  "$ref": "#/properties/title"
      +                },
      +                "name": {
      +                  "$ref": "#/properties/title"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The brand, content group or topic cluster filter these numbers are narrowed to; absent when the call was unscoped and the numbers cover the whole property."
      +}
    • changedOutput schema / properties / siteScope / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "hostnames": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "includesSubdomainsOf": {
      -        "$ref": "#/properties/title"
      -      },
      -      "note": {
      -        "$ref": "#/properties/title"
      -      },
      -      "sharedWithSites": {
      -        "$ref": "#/properties/siteScope/anyOf/0/properties/hostnames"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "hostnames": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "includesSubdomainsOf": {
      +        "$ref": "#/properties/title"
      +      },
      +      "note": {
      +        "$ref": "#/properties/title"
      +      },
      +      "sharedWithSites": {
      +        "$ref": "#/properties/siteScope/anyOf/0/properties/hostnames"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / sortOrder
      Added value: +{
      +  "$ref": "#/properties/kind",
      +  "description": "\"asc\" or \"desc\"."
      +}
    • addedOutput schema / properties / sortedBy
      Added value: +{
      +  "$ref": "#/properties/kind",
      +  "description": "Row field the rows are sorted by."
      +}
    • addedOutput schema / properties / thenBy
      Added value: +{
      +  "$ref": "#/properties/kind",
      +  "description": "Secondary sort field, when the tool states one."
      +}
    • addedOutput schema / properties / thenOrder
      Added value: +{
      +  "$ref": "#/properties/kind",
      +  "description": "The tie-break's direction, present only when it differs from sortOrder."
      +}
    • addedOutput schema / properties / warning
      Added value: +{
      +  "$ref": "#/properties/kind",
      +  "description": "A caveat that changes how the numbers read."
      +}
  3. Changed4 schema fields changed
    • addedOutput schema / properties / comparisonHasData
      Added value: +{
      +  "description": "false when the comparison period has no data at all, so there is no comparison.",
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / note
      Added value: +{
      +  "$ref": "#/properties/kind",
      +  "description": "Caveat about the result, when the tool returned one."
      +}
    • addedOutput schema / properties / notes
      Added value: +{
      +  "$ref": "#/properties/siteScope/anyOf/0/properties/hostnames",
      +  "description": "Caveats about the result, when the tool returned several."
      +}
    • addedOutput schema / properties / siteScope
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "hostnames": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "includesSubdomainsOf": {
      +          "$ref": "#/properties/title"
      +        },
      +        "note": {
      +          "$ref": "#/properties/title"
      +        },
      +        "sharedWithSites": {
      +          "$ref": "#/properties/siteScope/anyOf/0/properties/hostnames"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Set when GA4 numbers were narrowed to this site's hostnames because the property is shared with other sites."
      +}
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnly/openWorld/non-destructive; the description adds substantive behavior the annotations cannot express: the referrer-domain + channel identification method, default 28-day window with ~2-3 day data lag, a notConfigured result when GA is unconnected, and the activeUsers double-counting caveat with the exact summary figure. It also states sort order (sessions, highest first) and that llmShareOfSessions/engagementRate/bounceRate are 0-1 fractions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the usage trigger and the sibling exclusion, then caveats; nearly every clause carries decision-relevant information. The middle sentence is a long dense run-on enumerating assistants and metrics, which costs a little scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter analytics tool with an output schema, the description covers what the structured fields cannot: measurement methodology, default time window and lag, disconnected-state return, known attribution gap for AI Overviews, and metric units. Nothing an agent needs to call or interpret it is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 86%, so the schema already carries most parameter meaning; the description restates the optional date range and default 28-settled-day window but adds the lag rationale. It says little about limit, the comparison date pair, or includeDailySplit (only hinted at via "sourceTimeseries by date"), so it does not meaningfully exceed the schema baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb+resource (traffic sessions/engagement/conversions/revenue referred by AI assistants) and enumerates the measured dimensions and breakdowns. It explicitly separates itself from query_ga4_report for generic referral sources, so an agent can choose without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ("when the user asks how much traffic AI assistants such as ChatGPT send to the site") and an explicit anti-trigger with the alternative tool named (query_ga4_report with dimension sourceMedium for all referral sources). It also carves out Google AI Overviews/AI Mode as out of scope, so edge cases are resolved up front.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources