Skip to main content
Glama

SEO GSC Wizard MCP

Add migration redirect mappings

add_migration_redirects

Saves redirect mappings (old URL -> new URL) for a site migration, tied to the source property A and target property B they move traffic between. These back the Migration Compare workflow: use compare_migration for the before/after performance read, and these mappings to record which old URL became which new one. Pass label to keep several migrations apart on one account. Rows are APPENDED, never deduplicated against what is already stored, so re-sending the same list stores it twice; clear a set first with delete_migration_redirects if you are re-uploading. An account stores at most 200,000 mappings in total.

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": {
      "siteUrlA": "<siteUrlA>",
      "siteUrlB": "<siteUrlB>",
      "redirects": "<redirects>"
    },
    "name": "add_migration_redirects"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoGroups this batch, e.g. "2026-blog-restructure". Also what delete targets.
siteUrlAYesSource property (the old site), as registered in GSC.
siteUrlBYesTarget property (the new site), as registered in GSC.
redirectsYes

Output Schema

NameRequiredDescriptionDefault
labelNo
skippedNo
insertedNo
siteUrlANo
siteUrlBNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=false; the description adds the operationally important behavior that rows are APPENDED and never deduplicated, so re-sending a list stores it twice. It also discloses the hard capacity limit (200,000 mappings per account) and that label scopes what delete targets — none of which is in the annotations.

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

Conciseness5/5

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

Purpose is front-loaded in the first clause, followed by workflow routing, the label tip, and the append/capacity warning. Every sentence carries distinct information; nothing is repeated from the title or annotations.

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 non-destructive bulk-write tool with an output schema, the description covers what an agent needs before calling: what it writes, the append-only duplicate hazard, the per-account cap, and the cleanup path. Return-value behavior is correctly left to the output schema.

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?

Schema coverage is 75%, so the schema already documents most parameters. The description adds the pairing semantics — siteUrlA/B are the source and target properties that traffic moves between — and frames label as the way to keep several migrations apart on one account, which is more than the schema's terse field text. It stops short of describing redirects array limits, though the schema covers those.

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 and resource ("Saves redirect mappings (old URL -> new URL)") plus the scope it operates on (source property A to target property B). It also names the workflow it belongs to (Migration Compare) and distinguishes itself from compare_migration and delete_migration_redirects, so an agent can pick it out without opening a schema.

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

Usage Guidelines5/5

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

Explicit routing: use compare_migration for the before/after performance read, and this tool to record old-URL-to-new-URL pairs. It also gives a concrete when-to-do-something-else rule: clear a set first with delete_migration_redirects if you are re-uploading. That is both when-to-use and when-to-use-an-alternative guidance.

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.

Resources