Skip to main content
Glama
google-seo-mcp
by Akxan

Pre-migration URL safety net

migration_check
Read-onlyIdempotent

Collect old-site URLs from Search Console, sitemap, and Wayback, then test each on the new host and classify redirects, missing pages, chains, and errors before migration.

Instructions

Pre-migration check: collect old URLs from Search Console (pages with impressions), the old sitemap and optionally the Internet Archive, test each on the new host, classify OK / REDIRECTED / REDIRECT_TO_HOME / CHAIN / NOT_FOUND / ERROR, sorted by old-site clicks. Search Console only remembers 16 months of URLs that got impressions, so on an old site turn on includeWayback (and raise maxUrls) to recover the rest.

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": {
      "siteUrl": "<siteUrl>",
      "newHost": "<newHost>"
    },
    "name": "migration_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateNo3daysAgo
maxUrlsNo
newHostYesHost of the new site to test against, e.g. 'my-site.pages.dev' or 'new.example.com'.
siteUrlYesSearch Console property, e.g. 'sc-domain:example.com'.
includeOkNoInclude OK rows in the response (otherwise only problems and redirects).
startDateNo180daysAgo
concurrencyNo
waybackLimitNoMax archived URLs to request.
oldSitemapUrlNoOld site's sitemap (index supported). Defaults to none: only Search Console pages are used.
includeWaybackNoAlso pull historical URLs of the domain from the Internet Archive CDX API (free, no key). Finds pages Search Console has dropped; these have no click data, so raise maxUrls.
waybackFromYearNoOnly captures from this year on, e.g. 2015, to skip a long-gone version of the site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Changed3 schema fields changedv0.10.0
    • addedInput schema / properties / includeWayback
      Added value: +{
      +  "default": false,
      +  "description": "Also pull historical URLs of the domain from the Internet Archive CDX API (free, no key). Finds pages Search Console has dropped; these have no click data, so raise maxUrls.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / waybackFromYear
      Added value: +{
      +  "description": "Only captures from this year on, e.g. 2015, to skip a long-gone version of the site.",
      +  "maximum": 2100,
      +  "minimum": 1996,
      +  "type": "integer"
      +}
    • addedInput schema / properties / waybackLimit
      Added value: +{
      +  "default": 1000,
      +  "description": "Max archived URLs to request.",
      +  "maximum": 10000,
      +  "minimum": 10,
      +  "type": "integer"
      +}
  3. Changed1 schema field changedv0.5.1
    • removedInput schema / additionalProperties
      Removed value: -false
  4. First observedv0.3.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so safety is covered; the description instead adds the non-obvious behavior an agent could not infer: three distinct URL sources, capped and degraded coverage from Search Console's 16-month retention, and empty wayback click data requiring a higher maxUrls. It does not mention credential requirements for Search Console or expected runtime for large fetches, which keeps it at 4.

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?

Two sentences, front-loaded with the purpose and then the retention caveat; no filler or restatement of the title. The second sentence is densely packed with clauses, which slightly hurts scannability but every clause carries information an agent needs.

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

Completeness4/5

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

For an 11-parameter, read-only, no-output-schema tool this covers the essentials: sources, classification outcomes, result ordering, and the one major gotcha that causes missing data. Missing pieces are minor: authentication expectations for the Search Console property, rough cost/time for high concurrency or large maxUrls, and whether partial source failures degrade gracefully.

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

Parameters4/5

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

With 64% schema coverage, the description meaningfully fills gaps by explaining the interplay between includeWayback and maxUrls (archived URLs carry no click data, so raise the URL cap) and by framing startDate/endDate implicitly as the Search Console retention window. Several parameters (concurrency, includeOk, waybackLimit, waybackFromYear) are left entirely to their schema descriptions rather than being given operational context here.

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

Purpose5/5

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

States a specific verb chain and resource: collect old URLs from Search Console, old sitemap, and optionally the Internet Archive, then test each against the new host and classify into named outcomes. The classification vocabulary (OK / REDIRECTED / REDIRECT_TO_HOME / CHAIN / NOT_FOUND / ERROR) and the 'sorted by old-site clicks' ordering make the tool's output shape and purpose unmistakable and distinct from single-URL sibling checks.

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?

The trigger context is explicit ('pre-migration') and it gives actionable conditional guidance: on an old site, turn on includeWayback and raise maxUrls because Search Console only retains 16 months of impressed URLs. It does not name sibling alternatives (e.g. gsc_inspect_url for single-URL diagnosis) or state when not to use this heavier sweep, so it falls short of a 5.

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