Skip to main content
Glama

Search Console Performance

gsc_performance
Read-onlyIdempotent

Google Search Console performance for the connected site: clicks, impressions, CTR and position by query, page or period (data lags 2 to 3 days). Use for 'how is my site / this page / this query doing in Google'. One page's queries: dimension_breakdown with filterPage. Diagnosis (cannibalization, CTR outliers) is gsc_insights; weekly position history is rank_tracking_read. Cost: FREE - reads your connected/stored data, no AI credits. Requires Google Search Console, which is not yet connected for this workspace; calling any action returns the connect link. Actions: top_queries (top search queries); top_pages (top pages); dimension_breakdown (by device/country/date, or one page's queries (query + filterPage) / one query's pages (page + filterQuery); needs dimension); query_page_matrix (cannibalization / query-to-page map); query_pages (which pages rank for given queries, with each page's own numbers; needs queries); compare_periods (decay/growth vs the prior period); trend (daily clicks/impressions over time); discover_news (Discover / News / Image / Video surfaces); folder_rollup (performance by URL folder / site section); fresh (provisional today/yesterday numbers (hours-old data)); custom_query (flexible query: 1-3 dimensions, regex/exclusion filters, search type, fresh data, dates, paging to 25,000 rows).

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": {
      "action": "<action>"
    },
    "name": "gsc_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLook-back window in days (defaults ~28). 1-90 for most actions; 7-90 for trend; custom_query up to 486 (about 16 months).
pageNoquery_pages only: a full page URL to check - returns its own row for each query, or null when it does not rank.
depthNofolder_rollup only: path depth to group by (1-3, default 1).
limitNoRow cap. top_queries/top_pages/dimension_breakdown default 50; compare_periods rows per period default 500. Ignored by query_page_matrix (use maxRows), trend and custom_query (use rowLimit).
actionYesWhich operation to run. Each action, and the parameters it needs, is listed in the tool description.
intentNoOptional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details.
endDateNocustom_query only: YYYY-MM-DD, with startDate.
filtersNocustom_query only: filters applied together (AND). Regex is RE2 (no lookarounds). Country is a 3-letter code (usa); device is DESKTOP, MOBILE or TABLET.
maxRowsNoquery_page_matrix only: max query-page pairs (100-1000, default 200).
queriesNoREQUIRED for query_pages: 1-5 exact search queries. Page rows are that page's own numbers; queryTotal is site-wide and never a page's number.
surfaceNodiscover_news only: which surface (default discover).
rowLimitNocustom_query only: rows per page (1-25,000, default 1,000).
startRowNocustom_query only: zero-based row offset; pass the nextStartRow a previous answer gave.
dataStateNocustom_query only: final (default) or all (adds fresh data from the last 2-3 days, which can still change).
dimensionNoREQUIRED for dimension_breakdown: device|country|date|query|page (query + filterPage = the queries one page ranks for, with that page's own numbers; page + filterQuery = the pages ranking for one query). For compare_periods: query|page|device|country (default page). Ignored otherwise.
startDateNocustom_query only: YYYY-MM-DD, with endDate (overrides days).
dimensionsNocustom_query only: 1-3 dimensions to group by (default query).
filterPageNodimension_breakdown only: restrict to one exact page URL, as Search Console records it (pair with dimension=query to see the queries that page ranks for).
searchTypeNocustom_query only: which search results (default web). Discover and googleNews report no queries.
filterQueryNodimension_breakdown only: restrict to one exact query (pair with dimension=page to see which pages rank for it).
aggregationTypeNocustom_query only: auto (default), byPage or byProperty (not with the page dimension or a page filter).
response_formatNoOptional. "concise" (default) or "detailed" (the full result; only when a concise answer says it was cut).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / dimension / description
      Previous value: -"REQUIRED for dimension_breakdown: device|country|date|query|page (query + filterPage = the queries one page ranks for, with that page's own numbers; page + filterQuery = the pages ranking for one query). For compare_periods: query|page (default page). Ignored otherwise."New value: +"REQUIRED for dimension_breakdown: device|country|date|query|page (query + filterPage = the queries one page ranks for, with that page's own numbers; page + filterQuery = the pages ranking for one query). For compare_periods: query|page|device|country (default page). Ignored otherwise."
    • addedInput schema / properties / response_format
      Added value: +{
      +  "description": "Optional. \"concise\" (default) or \"detailed\" (the full result; only when a concise answer says it was cut).",
      +  "enum": [
      +    "concise",
      +    "detailed"
      +  ],
      +  "type": "string"
      +}
  2. Added
  3. Removed
  4. Changed2 schema fields changed
    • changedInput schema / properties / maxRows / description
      Previous value: -"query_page_matrix only: max query-page pairs (default 2000)."New value: +"query_page_matrix only: max query-page pairs (100-1000, default 200)."
    • removedInput schema / properties / user_intent
      Removed value: -{
      -  "description": "Optional: one short sentence describing what the user is ultimately trying to achieve with this request. Used by SEOmatic to tailor answers and improve the product; never required.",
      -  "maxLength": 300,
      -  "type": "string"
      -}
  5. Changed4 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Which operation to run. top_queries (top search queries); top_pages (top pages); dimension_breakdown (by device/country/date); query_page_matrix (cannibalization / query-to-page map); query_pages (which pages rank for given queries, with each page's own numbers); compare_periods (decay/growth vs the prior period); trend (daily clicks/impressions over time); discover_news (Discover / News / Image / Video surfaces); folder_rollup (performance by URL folder / site section); fresh (provisional today/yesterday numbers (hours-old data))."New value: +"Which operation to run. top_queries (top search queries); top_pages (top pages); dimension_breakdown (by device/country/date, or one page's queries (query + filterPage) / one query's pages (page + filterQuery)); query_page_matrix (cannibalization / query-to-page map); query_pages (which pages rank for given queries, with each page's own numbers); compare_periods (decay/growth vs the prior period); trend (daily clicks/impressions over time); discover_news (Discover / News / Image / Video surfaces); folder_rollup (performance by URL folder / site section); fresh (provisional today/yesterday numbers (hours-old data))."
    • changedInput schema / properties / dimension / description
      Previous value: -"REQUIRED for dimension_breakdown (device|country|date). For compare_periods: query|page (default page). Ignored otherwise."New value: +"REQUIRED for dimension_breakdown: device|country|date|query|page (query + filterPage = the queries one page ranks for, with that page's own numbers; page + filterQuery = the pages ranking for one query). For compare_periods: query|page (default page). Ignored otherwise."
    • changedInput schema / properties / filterPage / description
      Previous value: -"dimension_breakdown only: restrict to one exact page URL."New value: +"dimension_breakdown only: restrict to one exact page URL, as Search Console records it (pair with dimension=query to see the queries that page ranks for)."
    • changedInput schema / properties / filterQuery / description
      Previous value: -"dimension_breakdown only: restrict to one exact query."New value: +"dimension_breakdown only: restrict to one exact query (pair with dimension=page to see which pages rank for it)."
  6. Changed4 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Which operation to run. top_queries (top search queries); top_pages (top pages); dimension_breakdown (by device/country/date); query_page_matrix (cannibalization / query-to-page map); compare_periods (decay/growth vs the prior period); trend (daily clicks/impressions over time); discover_news (Discover / News / Image / Video surfaces); folder_rollup (performance by URL folder / site section); fresh (provisional today/yesterday numbers (hours-old data))."New value: +"Which operation to run. top_queries (top search queries); top_pages (top pages); dimension_breakdown (by device/country/date); query_page_matrix (cannibalization / query-to-page map); query_pages (which pages rank for given queries, with each page's own numbers); compare_periods (decay/growth vs the prior period); trend (daily clicks/impressions over time); discover_news (Discover / News / Image / Video surfaces); folder_rollup (performance by URL folder / site section); fresh (provisional today/yesterday numbers (hours-old data))."
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "top_queries",
      -  "top_pages",
      -  "dimension_breakdown",
      -  "query_page_matrix",
      -  "compare_periods",
      -  "trend",
      -  "discover_news",
      -  "folder_rollup",
      -  "fresh"
      -]New value: +[
      +  "top_queries",
      +  "top_pages",
      +  "dimension_breakdown",
      +  "query_page_matrix",
      +  "query_pages",
      +  "compare_periods",
      +  "trend",
      +  "discover_news",
      +  "folder_rollup",
      +  "fresh"
      +]
    • addedInput schema / properties / page
      Added value: +{
      +  "description": "query_pages only: a full page URL to check - returns its own row for each query, or null when it does not rank.",
      +  "type": "string"
      +}
    • addedInput schema / properties / queries
      Added value: +{
      +  "description": "REQUIRED for query_pages: 1-5 exact search queries. Page rows are that page's own numbers; queryTotal is site-wide and never a page's number.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  7. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations (which only declare read-only, idempotent, non-destructive) by disclosing the 2-3 day data lag, that calls are FREE and read stored data with no AI credits, and that Search Console is not yet connected so any action returns a connect link. That connection-state warning is exactly the kind of operational fact annotations cannot carry.

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?

Purpose and the two sibling exclusions are front-loaded before the long action inventory, and the cost/connection caveat is placed where it will be read. It is a dense single block with eleven parenthetical action glosses, so it is heavy to scan, but nearly every clause carries routing or behavioral information rather than filler.

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 22-parameter, 11-action tool this covers what an agent needs: every action is glossed, the blocking connection prerequisite is flagged, data freshness is bounded, and cost is stated. With a full input schema and an output schema present, no further return-value explanation is owed.

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 schema already documents all 22 parameters; the description's added value is cross-parameter pairing guidance (dimension_breakdown requires dimension, query+filterPage vs page+filterQuery) and which action needs which parameter. It does not restate defaults or ranges, which is fine since the schema does, but a few actions (fresh, folder_rollup) get no parameter hints beyond their one-line gloss.

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 ('Google Search Console performance ... clicks, impressions, CTR and position') plus the sliceable dimensions (query, page, period). It explicitly distinguishes itself from gsc_insights (diagnosis) and rank_tracking_read (weekly position history), so an agent can route correctly without opening a 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 phrase ('Use for how is my site / this page / this query doing in Google') and names the two sibling tools with the conditions that select them. It also routes within the tool itself ('One page's queries: dimension_breakdown with filterPage'), covering when-to-use and when-not-to-use.

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.