Skip to main content
Glama

Fix issue with rules

fix_with_rules

No-code fix for one issue code on every affected URL: SEOAsist writes the rules (titles/descriptions via AI, canonical, lang, noindex) and sends them to the site through its Site API, WordPress plugin or Pixel. Works when the site has the Site API, the WordPress plugin or the Pixel. Codes: missing_title, title_too_long, title_too_short, duplicate_title, title_h1_mismatch, missing_meta_description, meta_description_too_long, meta_description_too_short, duplicate_meta_description, missing_canonical, canonical_mismatch, canonical_http, missing_lang, noindex. Server / template problems (http_no_redirect, mixed_content, soft_404, sitemap_*, hreflang_*, schema_invalid, js_rendered_content) need a code fix (pull request) or the owner.

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": {
      "siteId": "<siteId>",
      "issueCode": "<issueCode>"
    },
    "name": "fix_with_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesSite id from list_sites
issueCodeYesIssue code to fix

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true; the description adds real value beyond them by disclosing that it writes rules with AI-generated content, pushes them to the live site through one of three channels, and operates across every affected URL (bulk mutation). It does not address reversibility, partial-failure behavior, or how many URLs may be touched in one call.

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 core action and scope, then prerequisites, then the code list. The long comma-separated code enumeration is dense but earns its place because the schema has no enum; splitting it into supported/unsupported groups would read better.

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 a two-parameter mutation with no output schema, the description covers what changes, where it is applied, integration prerequisites, and which inputs are out of scope. Missing only post-call behavior details such as what happens when the site lacks all three channels or when some URLs fail.

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 100%, so both parameters are documented, and the description does add meaning for issueCode by listing valid values since the schema declares no enum. However siteId is only restated from the schema, so the added semantics are confined to one parameter.

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 ('No-code fix for one issue code on every affected URL') plus the mechanism (AI-written titles/descriptions, canonical, lang, noindex pushed via Site API, WordPress plugin or Pixel). The enumeration of supported codes and the explicit carve-out of codes it cannot fix make it distinguishable from a code-fix path.

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?

Gives a clear when-not rule: server/template codes (http_no_redirect, mixed_content, soft_404, sitemap_*, hreflang_*, schema_invalid, js_rendered_content) need a code fix or the owner instead. Also states the precondition that the site must have Site API, the WordPress plugin or the Pixel. It does not name the specific sibling tool to use for the code-fix path, leaving that to inference.

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