Skip to main content
Glama

SEO GSC Wizard MCP

Google Ads Shopping products

get_google_ads_shopping
Read-only

Use this when the user asks how products perform in paid Shopping or Performance Max ads: clicks, cost, conversions, conversion value and ROAS per product (Merchant Center offer id) for the linked Google Ads accounts, filterable to products with spend and no conversions, or with impressions and no clicks. Unlike search terms, product rows carry the full Shopping cost. For free (organic) listings use get_organic_shopping_performance. 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_google_ads_shopping"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoProducts to return, by cost (default 50).
filterNo"no_conversions" = spend and zero conversions; "no_clicks" = impressions and zero clicks.all
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".
siteUrlYesThe property URL as returned by list_sites.
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".

Output Schema

NameRequiredDescriptionDefault
hintNo
rowsNo
rangeNo
reasonNo
thenByNo
totalsNo
hasMoreNo
listKeyNoName of the top-level field that holds the rows sortedBy describes.
siteUrlNo
accountsNo
currencyNoThe currency every money figure is in: the property's report currency when accounts in other currencies were converted (see currencyConversion), the accounts' one currency otherwise; null when money mixes currencies (see currencyMixed) or no currency is known yet.
dataNoteNo
nextStepNo
orderingNo
rowCountNo
sortedByNo
sortOrderNo
thenOrderNo
emptyBecauseNo
methodLimitsNo
currencyMixedNoTrue when the linked accounts use different currencies and money could not be converted: totals and rows then add amounts in different currencies and must not be shown as one currency (compare per account instead). Null when the tool returns no money.
notConfiguredNo
accessLostNoteNoThe sentence about hiddenAccounts, also in dataNote; null when none is hidden.
hiddenAccountsNoLinked accounts left out of every figure because Google has refused the login that linked them for more than 7 days (nothing is deleted; link again with a Google account that has access, or unlink).
historyGapNoteNoSet when a month inside the window is missing from an account's stored history because Google refused it: figures for that period are incomplete, not zero. Also in dataNote.
currencyWarningNoWhy money could not be converted, when currencyMixed is true.
currencyConversionNoSet when money of accounts in another currency was converted to the report currency; null otherwise.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed20 schema fields changed
    • addedOutput schema / properties / accessLostNote
      Added value: +{
      +  "$ref": "#/properties/currency",
      +  "description": "The sentence about hiddenAccounts, also in dataNote; null when none is hidden."
      +}
    • addedOutput schema / properties / accounts / items / properties / accessLostAt
      Added value: +{
      +  "$ref": "#/properties/currency",
      +  "description": "Since when Google refuses the login that linked this account (shown for 7 days, then hidden)."
      +}
    • changedOutput schema / properties / accounts / items / properties / currencyCode / $ref
      Previous value: -"#/properties/siteUrl"New value: +"#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
    • changedOutput schema / properties / accounts / items / properties / customerId / $ref
      Previous value: -"#/properties/siteUrl"New value: +"#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
    • changedOutput schema / properties / accounts / items / properties / historyComplete / $ref
      Previous value: -"#/properties/notConfigured"New value: +"#/properties/currencyMixed"
    • addedOutput schema / properties / accounts / items / properties / historyGaps
      Added value: +{
      +  "description": "Months inside the stored history Google kept refusing: not stored, so figures over them are incomplete.",
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "end": {
      +        "$ref": "#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
      +      },
      +      "start": {
      +        "$ref": "#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / accounts / items / properties / importedFrom / $ref
      Previous value: -"#/properties/siteUrl"New value: +"#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
    • changedOutput schema / properties / accounts / items / properties / lastError / $ref
      Previous value: -"#/properties/siteUrl"New value: +"#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
    • changedOutput schema / properties / accounts / items / properties / lastSyncAt / $ref
      Previous value: -"#/properties/siteUrl"New value: +"#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
    • changedOutput schema / properties / accounts / items / properties / name / $ref
      Previous value: -"#/properties/siteUrl"New value: +"#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
    • changedOutput schema / properties / accounts / items / properties / status / $ref
      Previous value: -"#/properties/siteUrl"New value: +"#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
    • changedOutput schema / properties / accounts / items / properties / timeZone / $ref
      Previous value: -"#/properties/siteUrl"New value: +"#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
    • removedOutput schema / properties / currency / $ref
      Removed value: -"#/properties/siteUrl"
    • addedOutput schema / properties / currency / description
      Added value: +"The currency every money figure is in: the property's report currency when accounts in other currencies were converted (see currencyConversion), the accounts' one currency otherwise; null when money mixes currencies (see currencyMixed) or no currency is known yet."
    • addedOutput schema / properties / currency / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / currencyConversion
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "chosenBy": {
      +          "$ref": "#/properties/currency",
      +          "description": "\"property_setting\" (set in the app) or \"most_accounts\" (the currency most linked accounts use)."
      +        },
      +        "convertedAccounts": {
      +          "description": "The accounts whose money was converted to reportCurrency, with their own currency.",
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "customerId": {
      +                "$ref": "#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
      +              },
      +              "fromCurrency": {
      +                "$ref": "#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "rateSource": {
      +          "$ref": "#/properties/currency",
      +          "description": "Where the rates come from: the ECB euro reference rates, daily figures at the rate of their own day, settings snapshots (budgets, targets) at the newest rate."
      +        },
      +        "ratesThrough": {
      +          "$ref": "#/properties/currency",
      +          "description": "Newest day with a published rate; later days use that rate."
      +        },
      +        "reportCurrency": {
      +          "$ref": "#/properties/currency"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Set when money of accounts in another currency was converted to the report currency; null otherwise."
      +}
    • addedOutput schema / properties / currencyMixed
      Added value: +{
      +  "description": "True when the linked accounts use different currencies and money could not be converted: totals and rows then add amounts in different currencies and must not be shown as one currency (compare per account instead). Null when the tool returns no money.",
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / currencyWarning
      Added value: +{
      +  "$ref": "#/properties/currency",
      +  "description": "Why money could not be converted, when currencyMixed is true."
      +}
    • addedOutput schema / properties / hiddenAccounts
      Added value: +{
      +  "description": "Linked accounts left out of every figure because Google has refused the login that linked them for more than 7 days (nothing is deleted; link again with a Google account that has access, or unlink).",
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "accessLostAt": {
      +        "$ref": "#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
      +      },
      +      "customerId": {
      +        "$ref": "#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
      +      },
      +      "name": {
      +        "$ref": "#/properties/currencyConversion/anyOf/0/properties/reportCurrency"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / historyGapNote
      Added value: +{
      +  "$ref": "#/properties/currency",
      +  "description": "Set when a month inside the window is missing from an account's stored history because Google refused it: figures for that period are incomplete, not zero. Also in dataNote."
      +}
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered; the description adds genuinely new behavioral context: ~2-3 day data settlement lag, a default 28-settled-day window when dates are omitted, and the note that product rows carry the full Shopping cost. It stops short of describing row-level completeness or ranking behavior, which keeps it from a 5.

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?

Three sentences, front-loaded with the trigger condition and followed by differentiation and defaults; nothing is padding. Some clauses are dense (the filter and cost-attribution points are crammed in), which slightly reduces scannability but does not waste space.

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

Completeness4/5

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

An output schema exists, so return values need not be explained, and all five parameters are covered by the schema. The description completes the picture with default date window, settlement lag and the paid-vs-free routing; only minor items such as the default ordering by cost being restated are absent, and the schema covers that.

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 100%, so the schema already documents limit, filter, siteUrl, startDate and endDate, including the 'never pass null' caveat. The description restates the date-range omission default and filter semantics but adds no syntax or constraints beyond what is already structured, so the baseline 3 applies.

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 specific verb and resource: product-level performance (clicks, cost, conversions, conversion value, ROAS) in paid Shopping/Performance Max, keyed by Merchant Center offer id. It explicitly distinguishes the resource from search terms rows and from the organic sibling, so an agent can select it without opening the 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?

Opens with an explicit trigger ('Use this when the user asks how products perform in paid Shopping or Performance Max ads') and names the exclusion path with the alternative tool for free listings (get_organic_shopping_performance). It also flags the two useful diagnostic filter modes (spend with no conversions, impressions with no clicks), which is exactly the when-to-use guidance an agent needs.

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