Skip to main content
Glama
devkit-mcp

devkit-mcp

by RaihNoDev2

slugify

Read-onlyIdempotent

Convert text into URL-friendly slugs by normalizing Portuguese accents and cedilla, with optional lowercase, length limits, custom separators, and stopword removal.

Instructions

Gera um slug a partir de um texto, tratando acentos e cedilha do português (ex.: "Café com Pão" → "cafe-com-pao").

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
textYesTexto de origem.
lowercaseNoConverte para minúsculas (padrão: true).
maxLengthNoTamanho máximo do slug.
separatorNoSeparador entre palavras (padrão: "-").
removeStopwordsNoRemove palavras comuns do português (padrão: false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real behavioral value by disclosing accent/cedilla handling with a worked example, but says nothing about truncation behavior for maxLength or what stopword removal does to the result.

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?

A single sentence that front-loads the verb and resource and closes with a compact illustrative example. Nothing is redundant or padded.

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 deterministic, read-only string utility with a fully documented five-parameter schema and no output schema, the description plus the example convey enough to call it correctly. Only edge-case behavior (truncation, stopword interaction) is left unstated.

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 five parameters are documented in the schema, making 3 the baseline. The description reinforces the transformation semantics via the "Café com Pão" → "cafe-com-pao" example, showing accent stripping and default separator, but adds no detail on lowercase, maxLength, or removeStopwords beyond the schema.

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?

States a specific verb ("Gera") and resource ("slug a partir de um texto") with a concrete transformation example, so the agent knows exactly what the output looks like. It does not explicitly distinguish itself from siblings like case_convert or text_stats, though the purpose is narrow enough to be unambiguous.

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: the agent can infer it applies when a URL-friendly slug is needed, especially for Portuguese text. There is no explicit when-to-use, when-not-to-use, or pointer to a sibling for related transformations.

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