Skip to main content
Glama

Duo Data Utilities

Unicode-aware URL slug with transliteration

text_slug
Read-onlyIdempotent

Turn arbitrary text into a URL-safe slug. Decomposes accents, transliterates German umlauts, Scandinavian and Turkish letters, and the ligatures that lose meaning under plain NFD, lowercases, collapses separators, and truncates on a word boundary. Options for separator character, maximum length and case preservation. Returns the slug plus what was removed. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNoMaximum slug length 1-512, default 96. Truncates at the last complete word. Accepted: integer 1-512.
caseNolower (default), preserve or upper. Accepted: lower, preserve, upper.
langNoISO 639-1 code for locale-sensitive folding (de: ü->ue, tr: dotless i). Default locale-neutral. Accepted: an ISO 639-1 language code.
textYesText to slugify, at most 2048 characters. Accepted: at most 2048 characters.
separatorNoSeparator: - (default), _, . or empty. Accepted: -, _, . or empty.

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 establish readOnly and idempotent behavior, yet the description adds substantial context beyond them: deterministic transformation steps (NFD decomposition, transliteration of umlauts/Scandinavian/Turkish/ligatures, separator collapsing, word-boundary truncation), the return shape ('slug plus what was removed'), and a per-call price paid via x402. Pricing and return disclosure are real value-adds not present in annotations.

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?

Front-loaded with the core purpose, then the transformation pipeline, then options, return value and price. Dense but every clause carries information; only the enumeration of specific letter classes is slightly verbose.

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?

With five parameters, no output schema, and annotations covering only the safety profile, the description supplies the missing return contract ('slug plus what was removed') and the payment requirement. Defaults and validation bounds live in the schema, so this is nearly complete for correct invocation.

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 100%, so the schema already documents max, case, lang, text and separator fully. The description only restates the option categories ('separator character, maximum length and case preservation') and nods at locale-sensitive folding via the umlaut/Turkish example, adding little beyond the structured fields.

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 (turn text into a URL-safe slug) and details the exact transformations performed. It is clearly distinguishable from siblings like text_transliterate and text_unicode because it commits to producing a slug rather than raw normalization.

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 use case is implied by the transformation description but there is no explicit when-to-use or when-not-to-use guidance, and no sibling (e.g. text_transliterate, text_unicode) is named as an alternative. An agent must infer the boundary itself.

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