Skip to main content
Glama

seo_redirect

Destructive

Manage 301/302 redirects by adding, listing, or deleting entries in a built-in table that runs on template_redirect, so URL changes work independently of other redirect plugins.

Instructions

Manage 301/302 redirects via a built-in Keelhob redirect table that runs on template_redirect (independent of any redirect plugin the site may also have active). Actions: add, list, delete.

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": "seo_redirect"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoFor delete: the "from" path.
toNoTarget URL or path.
fromNoSource path, e.g. /old-page/
typeNo
actionYeslist

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true, and the description usefully adds that redirects run on template_redirect and are independent of any active redirect plugin. However, it does not disclose the consequences of delete (permanent removal of the rule, keyed by the 'from' path) or what happens when adding a duplicate source. Useful mechanism context, but the mutation semantics remain thin.

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?

Two tight sentences with the mechanism and the action set front-loaded; every clause adds information and nothing is redundant filler.

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?

For a five-parameter mutation tool with no output schema, the description covers what the tool is and where redirects are stored, but omits the per-action parameter contract and what a 'list' returns. Adequate but leaves real gaps an agent must resolve from the schema alone.

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 coverage is 60% and per-parameter descriptions already define from, to, id, type, and action. The description's action list hints that parameters are action-conditional, but it never maps which parameters each action requires (e.g., add needs from/to, delete needs id as the from path). This is roughly baseline value over the schema.

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?

States a concrete verb (Manage) and resource (301/302 redirects) and names the three supported actions, so an agent knows exactly what the tool covers. It also clarifies the redirects live in a built-in table rather than a plugin, which distinguishes it from site-plugin behavior. It does not explicitly differentiate itself from any sibling, but no sibling covers redirects.

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?

The action list (add, list, delete) implies the usage modes, but there is no explicit guidance on when to reach for this tool versus fixing links another way, nor prerequisites such as needing an existing source path before adding. Usage is inferable rather than stated.

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