get_content_decay_report
Finds pages whose clicks declined by a meaningful amount between two adjacent windows, read entirely from MisarSEO's own archived Search Console history (the top-200-per-day per-page archive the nightly sync fills in). Read-only and FREE (no credits), and makes NO live Search Console call — unlike get_cannibalisation_report, this spends no Google quota, so it is rate limited only against ordinary abuse. Requires Search Console to be connected for the project. Returns exactly ONE of three states, which are three different facts — branch on state before reading anything else: not_connected (nothing is bound; tell the user to connect a property), insufficient_history (bound, but one of the two comparison windows has no archived rows at all — an absence of data, NOT a clean bill of health), analysed (we looked; findings may legitimately be empty and coverage is the proof). In both of the first two states nothing was measured, so never report either as 'no content decay found'. window selects the RECENT period length; the EARLIER period compared against it is the same length immediately before it, not a calendar-month split. minEarlierClicks (default 10) and declineThresholdPct (default 20) are this codebase's own chosen defaults, not a published vendor formula. A page that fell out of the archive's top-200-per-day entirely reports recentClicks: 0 — correctly the most severe decay, not a data hole.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | The RECENT period length (default last_28_days). The EARLIER period compared against it is the same length immediately before it — a period-over-period comparison, not a calendar-month split. | |
| projectId | Yes | Required. The MisarSEO project ID to scope this call to. Get one from list_projects. | |
| minEarlierClicks | No | A page must have had at least this many clicks in the earlier window to be considered at all (default 10) — a noise floor, not part of the decay definition. | |
| declineThresholdPct | No | How big a decline (percent) is required to be reported (default 20). 0 disables reporting entirely. |