Skip to main content
Glama
matetools

@mate-tools/mcp-server

Official
by matetools

slugify

Convert any text to a URL-safe slug. Handles Unicode and non-Latin characters via transliteration, with configurable separator and length.

Instructions

Convert any text to a URL-safe slug. Unicode-aware: by default transliterates non-Latin characters to ASCII (set transliterate=false to keep them). Configurable separator and length.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
lowercaseNo
separatorNo-
max_lengthNo
transliterateNo
Behavior4/5

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

With no annotations provided, the description carries the full burden and discloses important behavior: Unicode-aware transliteration to ASCII by default, with an opt-out via `transliterate=false`. It also mentions configurable separator and length. However, it does not mention lowercase defaulting or what happens when max_length is exceeded.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no filler. It front-loads the core purpose and packs useful behavior into the second sentence without redundancy.

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 string utility with an input schema and no output schema, the description covers the main behavior and edge-relevant Unicode handling. Missing details such as lowercase default and truncation semantics are small gaps that keep it from being fully complete.

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 compensate. It adds meaning for `transliterate` (keep non-Latin if false) and mentions configurable separator/length, but it does not explain `lowercase` or clearly define `max_length` truncation behavior. The schema provides defaults but no descriptions, so the description only partially compensates.

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?

Description opens with a specific verb and resource: 'Convert any text to a URL-safe slug.' This clearly distinguishes slugify from sibling tools like text_cleanup or url_encode by naming the output format. Additional details about Unicode transliteration and configurable separator/length reinforce the tool's unique purpose.

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?

The description clearly indicates the tool's intended use—generating URL-safe slugs from arbitrary text—and contextualizes the transliteration behavior. It does not explicitly list when not to use it or alternative tools, but for a single-purpose utility this is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/matetools/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server