Skip to main content
Glama
ArsNovaSingers

ars-nova-wordpress-mcp

Official

Create a Redirect

wp_create_redirect

Create 301/302/307/308 redirects in the Redirection plugin to keep old URLs working after slug changes, preserving search authority.

Instructions

Create a 301 (or 302/307/308) redirect in the Redirection plugin. Use after any slug change or page re-parenting so the old URL keeps working and search authority transfers.

Requires the Redirection plugin to be active and admin rights.

Args:

  • source (string): Old path to redirect FROM, e.g. '/listen/current-season/'. Required.

  • target (string): Path or URL to redirect TO, e.g. '/concerts/this-season/'. Required.

  • code (301|302|307|308): Default 301 (permanent).

  • title (string): Optional note shown in the admin list.

  • group_id (number): Redirection group. Default 1.

  • regex (boolean): Treat source as a regex. Default false.

  • response_format (enum): markdown | json.

Returns: the created redirect.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoHTTP status. 301 = permanent (default; passes SEO authority). 302/307 = temporary.
regexNoTreat source as a regular expression. Default false.
titleNoOptional note shown in the Redirection admin list.
sourceYesOld path to redirect FROM. Root-relative with a leading slash, e.g. '/listen/current-season/'.
targetYesPath or full URL to redirect TO, e.g. '/concerts/this-season/'.
group_idNoRedirection group ID. 1 = the default 'Redirections' group.
response_formatNoOutput format: 'markdown' for human-readable, 'json' for machine-readable.markdown
Behavior4/5

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

Annotations already indicate a mutation (readOnlyHint=false) and non-destructive behavior. The description adds useful context beyond annotations: it requires the Redirection plugin to be active, requires admin rights, and mentions the SEO effect ('search authority transfers'). No contradiction with annotations.

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 well structured: a concise one-sentence purpose, usage guidance, prerequisites, and a clear Args list. It is slightly long due to the full parameter enumeration, but the readability is high and each section earns its place.

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?

Given the tool's 7 parameters, no output schema, and annotations that don't cover all behavioral aspects, the description covers the use case, prerequisites, parameter semantics, and return value ('Returns: the created redirect'). It doesn't describe error scenarios or duplicate handling, but for a creation tool this is reasonably complete.

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 baseline is 3. The text's Args list largely restates the schema descriptions (e.g., source, target, code defaults), adding only minor value such as example paths and the semantic note about SEO authority. It does not meaningfully augment the schema's parameter explanations.

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?

The description opens with 'Create a 301 (or 302/307/308) redirect in the Redirection plugin,' a specific verb and resource that clearly states the tool's action. It distinguishes itself from the sibling wp_list_redirects by emphasizing creation, and the title 'Create a Redirect' reinforces the purpose.

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?

Explicitly states when to use: 'Use after any slug change or page re-parenting so the old URL keeps working and search authority transfers.' It also lists prerequisites ('Requires the Redirection plugin to be active and admin rights'), but does not mention explicit alternatives or when not to use, which keeps it from a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ArsNovaSingers/ars-nova-wordpress-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server