Skip to main content
Glama

Apply Seonix fixes

apply_fix
Destructive

Have Seonix apply its own fixes on the live WordPress site (write scope — tell the user exactly which issue codes and pages and get a yes first). Works for get_fix_plan items with fix_tier auto or ai_assist (wp_plugin_fixable); the site must have a connected WordPress channel. Seonix writes the new values itself (a rewritten title or description, the target of a redirect) and they go live in the same run: nobody sees them before they are applied. get_fix_run shows before and after, rollback_fix restores. For a page that gets search traffic do not use apply_fix for title, noindex or redirect codes: write the proposed value, show it to the owner, and let them change it in WordPress or in the Seonix dashboard, where the suggestion is shown before it is applied. Codes with change_risk ranking_sensitive are refused unless confirm_ranking_sensitive=true AND issue_ids names the pages the owner approved — such a fix is never applied to every affected page at once. A redirect is created only for an address that answers 404 or 410 and never to the home page; a redirect whose target Seonix would have to guess is not applied in a run — get_fix_run lists it as skipped (redirect_needs_review) for the owner to review in the Seonix Redirect Manager.

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": {
      "issue_codes": "<issue_codes>"
    },
    "name": "apply_fix"
  }
}

Input Schema

NameRequiredDescriptionDefault
issue_idsNoComma-separated issue ids from list_issues (one per page) to restrict the run to those pages. Required for codes with change_risk ranking_sensitive.
project_idNoProject id or slug.
issue_codesYesComma-separated issue codes from get_fix_plan whose fix_tier is auto or ai_assist (wp_plugin_fixable). Seonix fixes them on the live WordPress site through its plugin.
confirm_ranking_sensitiveNoSet true only after the site owner has seen which pages are affected (and their search traffic) and said yes for those pages: required, together with issue_ids, for codes with change_risk ranking_sensitive (title rewrites, noindex, redirects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / confirm_ranking_sensitive / description
      Previous value: -"Set true only after the site owner has seen which pages are affected (and their search traffic) and said yes: required for codes with change_risk ranking_sensitive (title rewrites, noindex, redirects)."New value: +"Set true only after the site owner has seen which pages are affected (and their search traffic) and said yes for those pages: required, together with issue_ids, for codes with change_risk ranking_sensitive (title rewrites, noindex, redirects)."
    • changedInput schema / properties / issue_ids / description
      Previous value: -"Optional comma-separated scan issue ids (from list_issues evidence) to restrict the run to specific pages."New value: +"Comma-separated issue ids from list_issues (one per page) to restrict the run to those pages. Required for codes with change_risk ranking_sensitive."
  2. Changed1 schema field changed
    • addedInput schema / properties / confirm_ranking_sensitive
      Added value: +{
      +  "description": "Set true only after the site owner has seen which pages are affected (and their search traffic) and said yes: required for codes with change_risk ranking_sensitive (title rewrites, noindex, redirects).",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructive and non-idempotent, but the description adds what annotations cannot: the new values go live in the same run with nobody reviewing them first, redirects are only created for 404/410 addresses and never to the home page, guessed targets are skipped as redirect_needs_review, and ranking_sensitive fixes are never applied site-wide at once. It also points to get_fix_run for before/after and rollback_fix for restoration.

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?

Front-loaded with the write-scope warning and the confirm-first instruction, and nearly every clause carries a real constraint. It is long and dense with parentheticals, and some eligibility wording (fix_tier auto/ai_assist, connected channel) duplicates the schema and required-parameter text.

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 destructive, open-world mutation tool with no output schema, the description covers prerequisites, irreversibility, verification via get_fix_run, rollback via rollback_fix, refusal conditions, and the skipped/needs-review outcome. Nothing an agent needs in order to call it safely is missing.

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 100%, so the baseline is 3; the description goes further by defining what issue_ids must represent (the specific pages the owner approved) and reinforcing the coupling with confirm_ranking_sensitive for ranking_sensitive codes. It does not add format or syntax detail beyond the schema, so it stops short of a 5.

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 — Seonix applies its own fixes to the live WordPress site — and immediately scopes it to get_fix_plan items of fix_tier auto or ai_assist, which cleanly separates it from get_fix_plan, get_fix_run, and rollback_fix. An agent can identify the operation and its subject without opening the 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?

Gives explicit when-to-use (auto/ai_assist, wp_plugin_fixable, connected WordPress channel), explicit when-not-to-use (search-traffic pages for title, noindex, or redirect codes — write the value and let the owner apply it in WordPress or the dashboard), and names the review alternative. It also states the guard condition for ranking_sensitive codes requiring both confirm_ranking_sensitive=true and issue_ids.

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.