Skip to main content
Glama

Google Ads & Meta Ads

Search Console: Find Keyword Opportunities

gsc_find_keyword_opportunities
Read-onlyIdempotent

Rank the organic search queries of one Search Console property by the clicks they could add, from the user's connected Google login's own data. Two lists: striking-distance queries (average position 4-20 with real impressions — within reach of the top 3 with content or internal-link work, ranked by the clicks a top-3 position would bring) and low-CTR queries (page-one position earning well under the CTR that position usually gets — the title or snippet is the problem). Each row carries clicks, impressions, CTR, position, the expected CTR and the potential extra clicks. Pass exclude_queries_containing with the brand name, page to look at one landing page, split_by_page to see which page each query lands on. Read-only; proposes nothing to Google Ads.

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": "gsc_find_keyword_opportunities"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoOnly queries landing on this exact URL.
limitNoRows kept in each opportunity list (default 25, max 200).
countryNoRestrict to one country, ISO 3166-1 alpha-3 lower-case (usa, gbr, deu).
filtersNoRow filters, all ANDed: each {dimension, operator, expression}. Examples: one landing page {"dimension":"page","operator":"equals","expression":"https://example.com/pricing"}; non-brand queries {"dimension":"query","operator":"notContains","expression":"acme"}; one country {"dimension":"country","operator":"equals","expression":"usa"}; mobile only {"dimension":"device","operator":"equals","expression":"MOBILE"}; a URL pattern {"dimension":"page","operator":"includingRegex","expression":"/blog/.*"}. Operators: equals, notEquals, contains, notContains, includingRegex, excludingRegex (RE2 syntax). A filtered dimension need not be a grouping dimension.
end_dateNoLast day, YYYY-MM-DD or relative. The last 2-3 days are partial unless data_state is all. Default: 3 days ago.
site_urlNoThe Search Console property: sc-domain:example.com (a domain property) or https://example.com/ (a URL-prefix property), as gsc_list_sites lists it. A bare domain is matched against both forms. May be omitted when the connected login reaches exactly one property.
start_dateNoFirst day, YYYY-MM-DD or relative (yesterday, 7daysAgo, 28daysAgo). Dates are Pacific time, as Search Console counts them. Default: 28 days ending 3 days ago, the freshest window whose data is final.
search_typeNoWhich search surface: web (default), image, video, news, discover, googleNews. Discover and Google News allow no query dimension.
split_by_pageNoTrue to score query × landing page rows, so each row names the page it lands on. Default false: one row per query across all pages.
min_impressionsNoIgnore rows with fewer impressions than this over the window (default 20): keeps one-off queries out of the ranking.
exclude_queries_containingNoTerms whose queries are left out, e.g. the brand name and its misspellings: brand searches rank first by default and are not opportunities.

Output Schema

NameRequiredDescriptionDefault
siteYesThe property read, as Google spells it.
lowCtrYesPage-one queries whose CTR is under half the usual for their position, by the clicks the usual CTR would add.
endDateYesLast day of the window, YYYY-MM-DD.
rowsReadYesQuery rows read from Search Console.
startDateYesFirst day of the window, YYYY-MM-DD.
minImpressionsYesThe threshold applied.
rowsConsideredYesRows left after min_impressions and the exclusions.
strikingDistanceYesQueries at position 4-20, by the clicks a top-3 position would add.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and the description's 'Read-only' largely restates that. It does add genuine behavioral context beyond the annotations: the data source is the connected Google login's own property, and nothing is proposed to Google Ads. It says nothing about rate limits, data lag beyond what the end_date parameter already documents, or failure modes for a login with multiple properties.

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?

The core operation and output shape are front-loaded in the first two sentences, and the parameter hints follow in a compact run. The long parentheticals on striking-distance and low-CTR are dense but earn their space by defining the ranking criteria. Slightly heavy overall, but nothing is padding.

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?

With 11 fully documented parameters and an output schema, the description needs only to explain purpose, the two opportunity categories, and the key tuning knobs, all of which it does. The remaining gap is routing versus sibling opportunity and analytics tools, which matters given how many GSC tools sit alongside this one.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning on top: it explains why exclude_queries_containing exists (brand queries rank first by default), what page and split_by_page do to the result shape, and that each row carries expected CTR and potential extra clicks. It adds rationale rather than merely echoing the schema.

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

Purpose4/5

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

The description names a specific verb and resource ('Rank the organic search queries of one Search Console property') and defines the two output lists, striking-distance and low-CTR, so the agent knows exactly what comes back. It does not, however, distinguish itself from the near-twin sibling gsc_find_page_opportunities or from gsc_query_search_analytics, leaving the agent to infer the split from the word 'queries'.

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 gives concrete operating context: pass exclude_queries_containing with the brand name because brand searches 'are not opportunities', use page for a single landing page, and split_by_page to attribute queries to pages. It also scopes the tool out of ads work ('proposes nothing to Google Ads'). It stops short of explicitly naming when to prefer a sibling such as gsc_find_page_opportunities.

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