audit_site
Run a site-wide on-page SEO audit by scanning sitemap URLs and analyzing each page, returning aggregate scores and common issues.
Instructions
Site-wide on-page SEO audit: discovers the site's URLs from its sitemap (resolving a sitemap index into child sitemaps), runs the on-page audit on each page (keyless, concurrency-limited), and returns site-level aggregates — average/min/max score, pages with errors, site-wide gaps (missing titles/meta/H1/schema), a rollup of the most common issues, and a per-page table. By DEFAULT the response is compact: per-page rows carry score and issue counts only (sorted worst-first) to keep the payload small; set detail=true to get full per-page metadata and each page's specific issues. PageSpeed is NOT run per page (too slow across many URLs). Use audit_page or pagespeed for deep per-page performance, or export_site_pdf for a formatted report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Maximum number of pages to audit (default 50) | |
| url | Yes | Any URL on the site (https:// optional) | |
| detail | No | Return the full per-page breakdown (metadata, headings, and each page's issue list) instead of the compact score/counts table. Default false — keep it off unless the full detail is needed, as it is far larger. |