Analyse one page
analyze_pageGet everything Search Console knows about one page: totals vs a comparison period, ranking queries with changes, quick-win queries, devices, countries, trend and index status. Use it before rewriting a page.
Instructions
Everything Search Console knows about a single page: its totals against a comparison period, the queries it ranks for with their change, the queries worth optimising for (ranked 4 to 20 with the most impressions), devices, countries, the trend, and its index status. Use it before rewriting or refreshing a page.
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": {
"page_url": "<page_url>"
},
"name": "analyze_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Length of the period in days, used when start_date is not given. Default 28. | |
| end_date | No | Last 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. | |
| page_url | Yes | Full URL of the page, exactly as it appears in Search Console. | |
| site_url | No | Search 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. | |
| compare_to | No | What to compare against: the same number of days immediately before, the same period 52 weeks earlier, a custom range (set compare_start_date and compare_end_date), or nothing. | previous_period |
| start_date | No | First day of the period, YYYY-MM-DD in Pacific Time. Defaults to `days` before end_date. | |
| search_type | No | Which Google surface: web (default), image, video, news (the News tab), discover or googleNews. | web |
| top_queries | No | Maximum number of queries to return. | |
| compare_end_date | No | Last day of the comparison period when compare_to is "custom". | |
| compare_start_date | No | First day of the comparison period when compare_to is "custom". | |
| include_index_status | No | Also run a URL inspection for the page (one call against the daily inspection quota). |