Skip to main content
Glama

generate_slug

Read-onlyIdempotent

Slug generator — SEO-friendly URL slug

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

Input Schema

NameRequiredDescriptionDefault
textYesThe text to process, plain UTF-8, for example: The quick brown fox.
lowercaseNotrue or false: lowercase. Default false.
maxLengthNoTrim the slug to this many characters, 0 for no limit.
separatorNoCharacter between words; default a hyphen (-).
removeStopWordsNotrue or false: remove stop words. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / lowercase / description
      Added value: +"true or false: lowercase. Default false."
    • addedInput schema / properties / maxLength / description
      Added value: +"Trim the slug to this many characters, 0 for no limit."
    • addedInput schema / properties / removeStopWords / description
      Added value: +"true or false: remove stop words. Default false."
    • addedInput schema / properties / separator / description
      Added value: +"Character between words; default a hyphen (-)."
    • addedInput schema / properties / text / description
      Added value: +"The text to process, plain UTF-8, for example: The quick brown fox."
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered elsewhere. The description adds only the vague adjective 'SEO-friendly' — it says nothing about how stop words are detected, how truncation at maxLength interacts with word boundaries, or what the output string looks like.

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 fragment with zero padding or redundancy. It is efficient, though its brevity comes at the cost of the guidance dimensions above rather than from tight editing of rich content.

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

Completeness3/5

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

The rich schema and strong annotation set mean the agent can call this correctly without further prose, and no output schema exists to explain. What is missing is the softer context: when to prefer this over the other generate_* tools and what the resulting slug will resemble.

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%, with every parameter including text, lowercase, maxLength, separator and removeStopWords individually documented with defaults and ranges. The description adds no meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource and operation ('Slug generator') and adds the qualifier 'SEO-friendly URL slug', so an agent knows exactly what artifact comes back. It is clear on its own, though it never contrasts itself with generator siblings such as generate_hash or generate_lorem.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of any alternative tool. The agent must infer from the name alone that this is the tool for turning text into URL-safe slugs.

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