sample_pages
Analyze representative pages from each route type to identify template-level SEO issues affecting entire page categories, based on an audit plan.
Instructions
Intelligently sample and analyze pages based on an audit plan.
Use this AFTER plan_audit to analyze representative pages from each route type.
For a site with 500k job pages, instead of crawling all of them, this will:
Sample 30-50 job detail pages (random + oldest + newest)
Sample 10-20 category landing pages
Sample 10-20 location pages
Sample company pages, static pages, etc.
Returns:
Detailed analysis of each sampled page
Aggregated issues per route type
Cross-cutting findings (% missing titles, schema errors, etc.)
Common issues ranked by frequency
This approach finds template-level issues that affect all pages of that type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The audit plan from plan_audit tool | |
| routeTypes | No | Specific route types to sample (default: all). E.g., ["job_detail", "category"] | |
| samplesOverride | No | Override sample counts per route type. E.g., {"job_detail": 10, "category": 5} | |
| concurrency | No | Concurrent page analyses (default: 2) |