Skip to main content
Glama

Make a URL slug

slugify
Read-onlyIdempotent

Convert text to a clean URL slug: transliterates accents (é→e, ß→ss), drops punctuation, collapses separators, trims to a word boundary.

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
textYesText
lowercaseNoLowercase (default true)
separatorNoSeparator (default -)
max_lengthNoMax length (default 80)

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 readOnly, idempotent, and closed-world, so the safety profile is covered. The description earns credit for disclosing actual behavioral traits beyond that: accent transliteration mappings, punctuation removal, separator collapsing, and word-boundary trimming for length limits. It stops short of saying what happens on empty or unslugifiable input.

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?

A single front-loaded sentence with the core verb first and the concrete rules trailing as supporting detail. No filler, though the parenthetical transliteration examples are slightly illustrative rather than essential.

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?

The tool is simple, fully annotated, and has no output schema to explain, so the description's coverage of the transformation rules is nearly sufficient. A brief note on return value and edge-case handling (empty input, non-Latin scripts) would close the remaining gap.

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 all four parameters are already documented, which sets the baseline at 3. The description adds marginal semantic value by explaining that separators are collapsed and length limits trim to a word boundary, hinting at the behavior behind 'separator' and 'max_length', but it never names those parameters directly.

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 ('Convert text to a clean URL slug') and immediately grounds it with concrete transformation rules (é→e, ß→ss, punctuation dropped). An agent knows exactly what this produces, and it is clearly distinct from the unrelated utility siblings.

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 by the purpose statement; there is no explicit when-to-use or when-not-to-use guidance and no prerequisite notes. For a self-contained string utility the omission is low-risk, but the description never tells the agent when slugifying is the right call.

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