gsc_audit
Build a complete, self-contained HTML SEO audit for one property.
Instructions
Build a complete, self-contained HTML SEO audit for one property.
Collects the period and its baseline (previous period or a year earlier), top queries and pages, devices, countries, the daily trend, six complete months of history, brand totals, sitemaps and an indexing check, then detects issues and builds a prioritised strategy and roadmap. Sections that could not be fetched are named, never shown as clean. English and Italian.
Ask the user for the period if they have not named one: the 28-day default is rarely what a client report wants.
Returns a compact JSON summary first (KPIs with deltas, issue counts, top quick wins, roadmap), so the findings can be discussed without reading the HTML, followed by the report path or the document itself.
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": {
"site_url": "<site_url>"
},
"name": "gsc_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Rolling window length ending today. | |
| output | No | `file` writes the report and returns its path, `inline` returns the HTML as an embedded resource, `both` does both, `auto` picks by transport. | auto |
| period | No | Named range: last_7_days, last_28_days, last_3_months, last_month, this_month, last_16_months. | |
| compare | No | Baseline: `previous` (the equally long period before) or `year` (the same period a year earlier; whole months map to the same months). | previous |
| date_to | No | End date YYYY-MM-DD. Defaults to today. | |
| language | No | Report language: en, it. Defaults to en. | |
| sections | No | Subset of sections to render: overview, issues, top_queries, top_pages, countries, sitemaps, indexing, strategy, roadmap, method. | |
| site_url | Yes | `sc-domain:example.com` for a domain property, or `https://example.com/` with the trailing slash for a URL-prefix property. Call gsc_sites if unsure. | |
| date_from | No | Start date YYYY-MM-DD. Overrides period and days. | |
| output_dir | No | Where to write the report. Defaults to ~/gsc-reports/. | |
| thresholds | No | Override the adaptive thresholds: min_impressions, min_clicks, high_visibility_impressions, ctr_curve. | |
| brand_terms | No | Words that mark a query as branded. Without them the first label of the domain is used, which is often wrong. | |
| branding_path | No | Path to a branding.json overriding colours, logo, name and thresholds. | |
| inspect_top_pages | No | How many top pages to run through URL Inspection. 0 disables it. |