Skip to main content
Glama
PageSpeed MCP Server

PageSpeed MCP Server

onpage_seo_audit

Audit a URL’s on-page SEO by checking headings, content length, internal and external links, image alt text, and optional target keyword optimization.

Instructions

Analyze on-page SEO factors: heading structure, content length, internal/external links, images alt text, and optional keyword optimization analysis.

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": {
      "url": "<url>"
    },
    "name": "onpage_seo_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
targetKeywordNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it discloses only the analysis scope. It never states that this is a read-only fetch of a live URL, whether the page must be publicly reachable, how long an audit takes, or any rate/caching behavior, leaving the operational profile opaque.

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?

A single front-loaded sentence that leads with the verb and scope, then lists the checked factors. It is efficiently sized with no filler, though the trailing list is a flat enumeration rather than structured.

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

Completeness3/5

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

With no output schema, no annotations, and 0% schema coverage, the agent gets the purpose and the checklist of factors but no sense of the response shape (scores vs. raw findings) or of prerequisites. Adequate to select the tool, thin for invoking it confidently.

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 0%, so the description must compensate. It partially does by tying 'optional keyword optimization analysis' to the targetKeyword parameter, conveying that supplying it unlocks extra analysis, but it adds nothing about url (e.g., must be publicly reachable, http vs https) beyond the uri format.

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 description uses a specific verb ('Analyze') with a scoped resource ('on-page SEO factors') and enumerates the concrete checks (headings, content length, links, alt text, keyword optimization). The 'on-page' qualifier implicitly sets it apart from the technical/performance/mobile audit siblings, though it never names them.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for content-level SEO evaluation of a single page, and the word 'optional' signals when targetKeyword matters. There is no explicit when-to-use versus technical_seo_audit or when-not-to-use guidance, so an agent facing overlapping audit tools still has to guess.

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