Skip to main content
Glama
Search Console MCP

Search Console MCP

Find declining pages

find_declining_pages
Read-onlyIdempotent

Find pages or queries with high click losses versus a comparison period and see if ranking, impressions, or CTR caused the drop, so you can investigate traffic declines and plan refreshes.

Instructions

Finds the pages (or queries) that lost the most clicks against a comparison period and gives a first reading of why: a ranking loss, fewer impressions, or a lower click-through rate. For the worst cases it also lists what lost the most underneath (the queries of a page, or the pages of a query). Use it to plan content refreshes and to investigate traffic drops.

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

Input Schema

NameRequiredDescriptionDefault
daysNoLength of the period in days, used when start_date is not given. Default 28.
limitNoMaximum number of rows to return.
filtersNoFilters; a row must match all of them. Example: [{"dimension":"page","operator":"contains","expression":"/blog/"},{"dimension":"country","operator":"equals","expression":"usa"}]. Countries are ISO 3166-1 alpha-3 codes, devices are DESKTOP, MOBILE or TABLET, and the regex operators use RE2 syntax.
end_dateNoLast day of the period, YYYY-MM-DD in Pacific Time, or "today" / "yesterday". Defaults to the latest day Google has complete data for, usually 3 to 4 days ago. A later date includes days that are still incomplete.
site_urlNoSearch Console property, for example "sc-domain:example.com" or "https://www.example.com/". A bare domain or any page URL on the site also works. Optional when GSC_SITE_URL is set or the account has exactly one property.
dimensionNoLook for declining pages or declining queries.page
scan_rowsNoHow many rows to read from Search Console before analysing. Google returns rows sorted by clicks, so a larger scan reaches further into low-click, high-impression rows. Each 25,000 rows is one API call.
compare_toNoWhat to compare against: the same number of days immediately before (default), the same period 52 weeks earlier, or a custom range (set compare_start_date and compare_end_date).previous_period
start_dateNoFirst day of the period, YYYY-MM-DD in Pacific Time. Defaults to `days` before end_date.
explain_topNoFor this many of the worst rows, also fetch the breakdown underneath. Each costs two API calls; 0 turns it off.
search_typeNoWhich Google surface: web (default), image, video, news (the News tab), discover or googleNews.web
min_drop_pctNoOnly report rows whose clicks fell by at least this percentage.
compare_end_dateNoLast day of the comparison period when compare_to is "custom".
compare_start_dateNoFirst day of the comparison period when compare_to is "custom".
min_previous_clicksNoOnly consider rows that had at least this many clicks in the comparison period.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so safety is covered. The description adds real behavioral context the annotations cannot: the result is a ranked loss report, each row carries an attribution of why, and for the worst rows it performs extra lookups underneath (the queries of a page, or the pages of a query) – a side effect an agent should anticipate.

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

Conciseness5/5

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

Three sentences, front-loaded with the core operation, then the diagnostic detail, then the use case. Every clause carries information and nothing is repeated from the schema.

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 15 parameters, no output schema, and nested drill-down behavior, the description does the important work: it conveys the shape of the return (ranked declining rows plus a cause attribution plus per-row breakdowns), which the agent cannot get from structured fields. Minor gaps remain – it does not address result limits or the cost implication of scanning large row counts, though scan_rows/explain_top schema text partly covers the latter.

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 coverage is 100%, so every parameter including compare_to, explain_top, min_drop_pct, and scan_rows is already documented in the schema. The description reinforces the comparison-period concept and the drill-down behavior, but adds no syntax, defaults, or constraints beyond what the schema states. Baseline 3 is appropriate.

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?

"Finds the pages (or queries) that lost the most clicks against a comparison period" names a concrete verb, resource, and analytic scope, and the following sentence explains the diagnosis it performs (ranking loss, impressions, CTR). This is clearly distinguishable from sibling diagnostics such as find_quick_wins or find_ctr_opportunities, which target different patterns.

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?

"Use it to plan content refreshes and to investigate traffic drops" gives explicit positive use cases and implicitly frames the tool as a drop-investigation entry point. It does not name an alternative tool or state when another diagnostic would be preferable, so it stops short of full routing guidance.

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