Skip to main content
Glama

SEO GSC Wizard MCP

Google Ads keywords and Quality Score

get_google_ads_keywords
Read-only

Use this when the user asks about Google Ads keywords or Quality Score: the Search keywords with traffic, their latest daily historical Quality Score (1-10) and its three components (landing page experience, expected CTR, ad relevance: ABOVE_AVERAGE / AVERAGE / BELOW_AVERAGE), with cost and conversions, plus the impression-weighted Quality Score per day. Below-average landing page experience is the component SEO work on the page can move. Shopping and Performance Max have no keywords. 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_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoKeywords to return, by cost (default 50).
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".
includeDailyQualityScoreNoInclude the impression-weighted Quality Score per day.
belowAverageLandingPageOnlyNoOnly keywords whose landing page experience is BELOW_AVERAGE.

Output Schema

NameRequiredDescriptionDefault
hintNo
rowsNo
rangeNo
reasonNo
thenByNo
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.
dailyQualityScoreNo
currencyConversionNoSet when money of accounts in another currency was converted to the report currency; null otherwise.
keywordsWithTrafficNo
weightedQualityScoreNo
keywordsWithQualityScoreNo

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.2/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, the description discloses the empty-result case (Shopping and PMax), the data freshness profile (~2-3 day lag), and the default analysis window. Much of that staleness/window detail is duplicated in the parameter descriptions, so it is useful context rather than purely new behavioral disclosure. No auth or rate-limit information is given, which is acceptable for a read-only tool.

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 phrase, then output content, then the caveat about absent keywords and defaults. Dense and non-repetitive, though the long middle sentence packs several distinct facts that would read better split.

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 read-only 6-parameter tool with an output schema and safe annotations, this covers what an agent needs: what is returned, what is excluded, what the default window is, and how stale the data is. The interpretive note that landing page experience is the actionable component is a relevant bonus for downstream reasoning.

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?

With 100% schema description coverage, the baseline is 3: the schema already documents limit-by-cost, the optional date window and its automatic fallback, includeDailyQualityScore, and belowAverageLandingPageOnly. The description reinforces the optional-window behavior with its explainable rationale but adds no semantics absent from the schema.

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?

The description names a specific resource and scope: search keywords with traffic, their latest daily Quality Score with its three component ratings, cost and conversions, plus an optional impression-weighted daily score. An agent can distinguish this from a search-terms or landing-page tool 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 Guidelines4/5

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

It opens with an explicit trigger ("Use this when the user asks about Google Ads keywords or Quality Score") and adds a real exclusion: Shopping and Performance Max have no keywords, so those requests belong elsewhere. It stops short of naming a concrete sibling for query-level search-terms data, leaving that routing to inference.

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