Skip to main content
Glama

slugify

Lowercase, accent-stripped, hyphenated URL slug with an optional max length. 0.001 USDC per call via x402.

Input Schema

NameRequiredDescriptionDefault
textYesText
maxLengthNo
paymentProofNoPayment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description partially compensates by disclosing the transformation rules and that the tool is pay-per-call (0.001 USDC via x402). However, it omits the key behavioral fact that the first call returns a 402 payment challenge (only inferable from the schema's paymentProof field) and doesn't say whether the operation is idempotent or how the slug is derived on edge cases.

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?

Two tight sentences with the core behavior front-loaded and the cost note appended. Nothing is padded or redundant.

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 single-string utility with no output schema, the description covers the transformation, an optional length limit, and the payment model. It falls short only on declaring the return type (string) and how maxLength truncation behaves, which an agent would want before calling.

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 67%: the paymentProof parameter is well documented in the schema, but maxLength has no schema description and text is described only as 'Text'. The description only restates that max length is optional and adds nothing about truncation behavior (word-boundary cutting, ellipsis, or length enforcement), so there is a real gap left unfilled.

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 the exact transformation (lowercase, accent-stripped, hyphenated URL slug) so an agent can distinguish it from near siblings like case_convert or url_codec. It does not explicitly name a sibling, but the output specification is concrete enough to stand alone.

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 explicit when-to-use or when-not-to-use guidance. The slug use case is implied by the word 'URL slug,' but nothing tells an agent when to pick this over case_convert or url_codec, and the only usage cue is the per-call price.

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.