WebMCP Registry

slug_generator

verifiedv0.1

Produces a URL slug from title text: lowercase, ASCII-transliterated, optional stop-word removal, hyphen or underscore separator, and optional maxLength (0 means no extra user cap; wordpress flavor still applies a 200-character cap and shopify 255 via existing generateSlug). Use this Tool when an agent needs a permalink or CMS handle. Do not use it to change letter case (that is case_converter) or to clean or rewrite prose (that is text_cleaner). flavor must be passed explicitly as generic, wordpress, or shopify — Variant URLs such as /text/slug-generator/wordpress or shopify-handle are not a second machine Tool and do not imply flavor.

Updated 9/3/2026 · Created 9/3/2026

Input Schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 100000,
      "minLength": 1
    },
    "flavor": {
      "enum": [
        "generic",
        "wordpress",
        "shopify"
      ],
      "type": "string",
      "default": "generic"
    },
    "maxLength": {
      "type": "integer",
      "default": 0,
      "maximum": 500,
      "minimum": 0
    },
    "separator": {
      "enum": [
        "-",
        "_"
      ],
      "type": "string",
      "default": "-"
    },
    "removeStopWords": {
      "type": "boolean",
      "default": false
    }
  },
  "additionalProperties": false
}

Full Contract

{
  "name": "slug_generator",
  "description": "Produces a URL slug from title text: lowercase, ASCII-transliterated, optional stop-word removal, hyphen or underscore separator, and optional maxLength (0 means no extra user cap; wordpress flavor still applies a 200-character cap and shopify 255 via existing generateSlug). Use this Tool when an agent needs a permalink or CMS handle. Do not use it to change letter case (that is case_converter) or to clean or rewrite prose (that is text_cleaner). flavor must be passed explicitly as generic, wordpress, or shopify — Variant URLs such as /text/slug-generator/wordpress or shopify-handle are not a second machine Tool and do not imply flavor.",
  "inputSchema": {
    "type": "object",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "required": [
      "text"
    ],
    "properties": {
      "text": {
        "type": "string",
        "maxLength": 100000,
        "minLength": 1
      },
      "flavor": {
        "enum": [
          "generic",
          "wordpress",
          "shopify"
        ],
        "type": "string",
        "default": "generic"
      },
      "maxLength": {
        "type": "integer",
        "default": 0,
        "maximum": 500,
        "minimum": 0
      },
      "separator": {
        "enum": [
          "-",
          "_"
        ],
        "type": "string",
        "default": "-"
      },
      "removeStopWords": {
        "type": "boolean",
        "default": false
      }
    },
    "additionalProperties": false
  }
}

GET /api/tool/simpletoolstack.com/slug_generator