Skip to main content
Glama

Site & Page Analysis

site_pages
Read-onlyIdempotent

Page-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

NameRequiredDescriptionDefault
urlNoanalyze/crawl/pagespeed: the URL to inspect. validate_schema: the page to fetch (or pass jsonld instead).
limitNoinventory only: max pages to return.
actionYesWhich operation to run. Each action, and the parameters it needs, is listed in the tool description.
intentNoOptional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details.
jsonldNovalidate_schema only: raw JSON-LD (a JSON document or <script type="application/ld+json"> blocks) to validate instead of a URL.
contentNoscore_draft: the draft HTML or plain text/markdown.
strategyNopagespeed only: mobile (default) or desktop.
contentTypeNoscore_draft: guide|tutorial|listicle|review|roundup|comparison|case_study|research|opinion (default guide).
response_formatNoOptional. "concise" (default) or "detailed" (the full result; only when a concise answer says it was cut).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / response_format
      Added value: +{
      +  "description": "Optional. \"concise\" (default) or \"detailed\" (the full result; only when a concise answer says it was cut).",
      +  "enum": [
      +    "concise",
      +    "detailed"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Which operation to run. score_draft (score a pasted DRAFT pre-publish (deterministic, free)); analyze (SEO score + critical issues); crawl (title/meta/headings/links); 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)); validate_schema (structured data vs Google rich-result rules: parse errors, missing required/recommended, wrong types (URL or pasted JSON-LD))."New value: +"Which operation to run. Each action, and the parameters it needs, is listed in the tool description."
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "Optional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  3. Changed5 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Which operation to run. score_draft (score a pasted DRAFT pre-publish (deterministic, free)); analyze (SEO score + critical issues); crawl (title/meta/headings/links); inventory (the user's real synced pages)."New value: +"Which operation to run. score_draft (score a pasted DRAFT pre-publish (deterministic, free)); analyze (SEO score + critical issues); crawl (title/meta/headings/links); 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)); validate_schema (structured data vs Google rich-result rules: parse errors, missing required/recommended, wrong types (URL or pasted JSON-LD))."
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "score_draft",
      -  "analyze",
      -  "crawl",
      -  "inventory"
      -]New value: +[
      +  "score_draft",
      +  "analyze",
      +  "crawl",
      +  "inventory",
      +  "pagespeed",
      +  "validate_schema"
      +]
    • addedInput schema / properties / jsonld
      Added value: +{
      +  "description": "validate_schema only: raw JSON-LD (a JSON document or <script type=\"application/ld+json\"> blocks) to validate instead of a URL.",
      +  "type": "string"
      +}
    • addedInput schema / properties / strategy
      Added value: +{
      +  "description": "pagespeed only: mobile (default) or desktop.",
      +  "enum": [
      +    "mobile",
      +    "desktop"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / url / description
      Previous value: -"analyze/crawl: the URL to inspect."New value: +"analyze/crawl/pagespeed: the URL to inspect. validate_schema: the page to fetch (or pass jsonld instead)."
  4. Changed1 schema field changed
    • removedInput schema / properties / user_intent
      Removed value: -{
      -  "description": "Optional: one short sentence describing what the user is ultimately trying to achieve with this request. Used by SEOmatic to tailor answers and improve the product; never required.",
      -  "maxLength": 300,
      -  "type": "string"
      -}
  5. Changed3 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Which operation to run. score_draft (score a pasted DRAFT pre-publish (deterministic, free)); analyze (SEO score + critical issues); crawl (title/meta/headings/links)."New value: +"Which operation to run. score_draft (score a pasted DRAFT pre-publish (deterministic, free)); analyze (SEO score + critical issues); crawl (title/meta/headings/links); inventory (the user's real synced pages)."
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "score_draft",
      -  "analyze",
      -  "crawl"
      -]New value: +[
      +  "score_draft",
      +  "analyze",
      +  "crawl",
      +  "inventory"
      +]
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "inventory only: max pages to return.",
      +  "type": "integer"
      +}
  6. Changed4 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Which operation to run. analyze (SEO score + critical issues); crawl (title/meta/headings/links)."New value: +"Which operation to run. score_draft (score a pasted DRAFT pre-publish (deterministic, free)); analyze (SEO score + critical issues); crawl (title/meta/headings/links)."
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "analyze",
      -  "crawl"
      -]New value: +[
      +  "score_draft",
      +  "analyze",
      +  "crawl"
      +]
    • addedInput schema / properties / content
      Added value: +{
      +  "description": "score_draft: the draft HTML or plain text/markdown.",
      +  "type": "string"
      +}
    • addedInput schema / properties / contentType
      Added value: +{
      +  "description": "score_draft: guide|tutorial|listicle|review|roundup|comparison|case_study|research|opinion (default guide).",
      +  "type": "string"
      +}
  7. Changed1 schema field changed
    • addedInput schema / properties / user_intent
      Added value: +{
      +  "description": "Optional: one short sentence describing what the user is ultimately trying to achieve with this request. Used by SEOmatic to tailor answers and improve the product; never required.",
      +  "maxLength": 300,
      +  "type": "string"
      +}
  8. Changed2 schema fields changed
    • removedInput schema / properties / limit
      Removed value: -{
      -  "description": "inventory only: max pages to return.",
      -  "type": "integer"
      -}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "A JSON object whose fields depend on the chosen action. Non-JSON results arrive as { result: string }. The text content block always carries the same data serialized.",
      +  "type": "object"
      +}
  9. First observed

TDQS

A4.1/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the description does not need to restate safety. It instead adds genuinely new context: the call is FREE and consumes no AI credits, scope is bound to the connected site, and score_draft is deterministic and works pre-publish. These are behavior facts an agent needs to choose the tool economically and cannot get from the annotation block.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with purpose, then scope and cost, then a semicolon-delimited action roster, which matches how an agent scans for a matching action. The action list is dense but each entry earns its place by naming the required input. It runs long and the final sentence crams six actions into one breath, but nothing is redundant filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nine-parameter, six-action tool, the description covers all actions, their inputs, the scope constraint, and the cost model, while an output schema handles return values and annotations handle the safety profile. Nothing material an agent needs before invoking it is absent. Remaining details, such as rate limits or pagination, are not evidently relevant to this read-only analysis tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents every parameter, including the enum values and the mobile default for strategy. The description adds modest reinforcement by mapping actions to required inputs (analyze/crawl/pagespeed need url; score_draft needs content; validate_schema takes a URL or pasted JSON-LD), but this largely duplicates the schema text and introduces no new syntax or format detail. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific resource and scope ("Page-level analysis of the live site") and goes on to enumerate six concrete capabilities: SEO scoring, crawl metadata, PageSpeed lab/field, structured-data validation, and page inventory. An agent can tell what the tool produces. It does not, however, explicitly contrast itself with siblings like site_audit or site_audit_deep, leaving the page-level vs site-level split to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Use to diagnose a page before proposing a fix" gives a clear trigger context, and "Scoped to the connected site; no domain parameter needed" removes a likely agent error about supplying a domain. Each of the six actions is annotated with the parameter it needs (content, url, or jsonld). Missing is an explicit statement of when NOT to use this tool or which sibling handles site-wide audits.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.