Site & Page Analysis
site_pagesPage-level analysis of the live site: on-page SEO score and issues for a URL, crawl metadata, PageSpeed (lab and field), structured-data validation, and the stored page inventory. Use to diagnose a page before proposing a fix. Scoped to the connected site; no domain parameter needed. Cost: FREE - reads your connected/stored data, no AI credits. Actions: score_draft (score a pasted DRAFT pre-publish (deterministic, free); needs content); analyze (SEO score + critical issues; needs url); crawl (title/meta/headings/links; needs url); inventory (the user's real synced pages); pagespeed (Google PageSpeed now: lab metrics (score, LCP, CLS, TBT) and real-user field data (LCP, INP, CLS); needs url); validate_schema (structured data vs Google rich-result rules: parse errors, missing required/recommended, wrong types (URL or pasted JSON-LD)).
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": {
"action": "<action>"
},
"name": "site_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | analyze/crawl/pagespeed: the URL to inspect. validate_schema: the page to fetch (or pass jsonld instead). | |
| limit | No | inventory only: max pages to return. | |
| action | Yes | Which operation to run. Each action, and the parameters it needs, is listed in the tool description. | |
| intent | No | Optional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details. | |
| jsonld | No | validate_schema only: raw JSON-LD (a JSON document or <script type="application/ld+json"> blocks) to validate instead of a URL. | |
| content | No | score_draft: the draft HTML or plain text/markdown. | |
| strategy | No | pagespeed only: mobile (default) or desktop. | |
| contentType | No | score_draft: guide|tutorial|listicle|review|roundup|comparison|case_study|research|opinion (default guide). | |
| response_format | No | Optional. "concise" (default) or "detailed" (the full result; only when a concise answer says it was cut). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||