Skip to main content
Glama

Lookup Kit

slugify

Read-only

Slug generator, slugify text, URL slug from a title. Turn a title into a clean URL slug: lowercase, accents removed, spaces to dashes (or underscores), punctuation dropped. E.g. 'Café Menu: Spring 2026!' becomes 'cafe-menu-spring-2026'. Price: $0.002 per call (x402, USDC on Base).

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

Input Schema

NameRequiredDescriptionDefault
textYes
separatorNo-
max_lengthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description goes beyond them by disclosing the price and payment rail ('$0.002 per call, x402, USDC on Base') and by stating the exact normalization rules (lowercase, accents stripped, spaces to dashes/underscores, punctuation dropped), which is real behavioral value.

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?

Short overall and front-loaded with the core purpose plus a decisive example. The opening trio 'Slug generator, slugify text, URL slug from a title' is redundant keyword repetition that mostly restates itself, costing it a point.

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 small pure-function tool with no output schema, the annotations and the worked example cover the essentials of what comes back. The notable omission is truncation semantics for max_length and whether cutting happens mid-word, which is the one thing an agent could get wrong.

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 description coverage is 0%, so the description must carry all three parameters; it only partly does. It explains the separator choice ('dashes (or underscores)') and the input text implicitly, but never mentions max_length (default 100, max 500) or the 1000-char input cap, so an agent cannot know from prose how truncation behaves.

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 ('slugify text', 'turn a title into a clean URL slug') and backs it with a concrete input/output example ('Café Menu: Spring 2026!' -> 'cafe-menu-spring-2026'). That example makes the transformation unambiguous and distinguishes it from neighbours like base64, hash, or format_convert.

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?

Usage is only implied: the description shows what a slug is good for ('URL slug from a title') but never says when to call this versus other formatting tools, nor any when-not condition. No close sibling exists in the list, so the gap is tolerable rather than damaging.

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