Skip to main content
Glama

text slugify

text_slugify
Read-only

Clean URL slugs from titles in any language (accents, German, Nordic and Cyrillic transliteration, symbols to words), with separator, max length on a word boundary and de-duplication for lists of up to 500. Costs $0.002 USDC per call (x402).

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": {
      "text": "<text>"
    },
    "name": "text_slugify"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
uniqueNo
separatorNo
max_lengthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Goes beyond the readOnlyHint/openWorldHint annotations by disclosing batching limits (lists up to 500), word-boundary truncation behavior, de-duplication semantics, and a per-call price ($0.002 USDC via x402), which is critical operational context. It stops short of describing the return value or error behavior.

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?

One dense, front-loaded sentence carries the capability list, followed by a short cost sentence; no filler. Slightly packed but each clause (transliteration, separator, max length, dedup, limit, price) 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?

For a simple read-only transform with no output schema, the description covers inputs, limits, cost, and dedup behavior well enough to invoke correctly. The main gap is that it never says what comes back (a slug string) or how the 500-item batch limit surfaces in the result.

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 description coverage is 0%, so the description must carry the burden: it explains that max length truncates on a word boundary, that separator is configurable, and that de-duplication applies to lists. That covers three of four parameters meaningfully, though it never names the `unique` flag explicitly or gives accepted separator values.

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 (slugify/clean URL slugs) and resource (titles/text), and enumerates the concrete transformations covered (accents, German/Nordic/Cyrillic transliteration, symbols-to-words). This clearly separates it from neighbors like text_rewrite, text_stats, and text_diff without needing their schemas.

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 description implies its use case (turning titles into URL slugs) but never states when to pick it over an alternative or when not to use it, and there are many text-processing siblings (text_rewrite, encode, url_parse). Usage is inferable but not explicit.

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