Skip to main content
Glama

Agent Data Tools: Utilities

Slugify, make a URL slug: turn a title into a clean URL slug

slug
Read-only

Turn any text into a URL-friendly slug: accents removed (é→e, ß→ss), lower case, non-alphanumerics replaced by a separator (- by default). Use for file names, URLs and IDs. Example: text=Crème Brûlée & Straße!. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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

Input Schema

NameRequiredDescriptionDefault
textYesThe text
separatorNo- (default) or _

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces that ('Reads or computes only and changes nothing'). It adds genuinely new context beyond annotations: per-call billing via x402 USDC/card key, first 10 free, failed calls free, and an explicit warning that repeats are charged — which explains the idempotentHint=false in practical terms.

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 operation and rules, then example, then commercial terms — a sensible order. It runs slightly long because pricing spans two clauses ('$0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free'), but each clause carries information an agent would otherwise lack.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, no-output-schema transformation tool, the description covers inputs, default behavior, example transformation, side-effect profile, and cost model. There is no output schema, yet the example makes the return value shape predictable, so nothing essential is missing.

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 both parameters are already documented, and the description largely restates the separator default ('- by default'), which the schema also carries. The added value is modest — the accent/non-alphanumeric treatment hints at what 'text' accepts — but nothing beyond the schema is explained, e.g., how multi-character separators or empty results are handled.

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 any text into a URL-friendly slug') and enumerates the transformation rules, including concrete transliteration examples (é→e, ß→ss). The example input 'Crème Brûlée & Straße!' makes the outcome unambiguous and distinguishes it from siblings like url_encode or case.

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?

Explicitly names intended uses ('file names, URLs and IDs'), so an agent knows when to reach for it. It stops short of naming an alternative or exclusion (e.g., when to prefer url_encode for query strings), so it is clear context without routing.

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