gsc_audit
Generate a complete HTML SEO audit report for a Google Search Console property. Runs multiple queries to analyze performance, compare periods, identify top queries and pages, check devices, countries, daily trends, sitemaps, and indexing issues. Detects common problems and builds an actionable strategy with a self-contained report including Chart.js graphs.
Instructions
Generate a complete HTML SEO audit report for a Search Console property.
Runs multiple queries (overview, previous-period comparison, top queries, top pages, devices, countries, daily trend, sitemaps, indexing check), detects common issues, builds an actionable strategy and renders everything in a self-contained HTML report with Chart.js graphs. The report layout and colors can be customized via branding.json.
IMPORTANT: If the user has not specified a date range, ask them before calling this tool. Do not assume defaults.
Args: site_url: Site URL (e.g. "https://example.com/" or "sc-domain:example.com"). date_from: Start date (YYYY-MM-DD). date_to: End date (YYYY-MM-DD). output_dir: Directory where to save the HTML report. Defaults to ~/gsc-reports/. branding_path: Optional path to a custom branding.json overriding the default one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes | ||
| date_from | Yes | ||
| date_to | Yes | ||
| output_dir | No | ||
| branding_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |