Skip to main content
Glama

x402 Toolbox

Slugify and case conversion (camel, snake, kebab, title, constant ...), trim, dedupe lines

text_transform
Read-onlyIdempotent

Slugify and case conversion (camel, snake, kebab, title, constant ...), trim, dedupe lines. Transforms text: slug, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, upper, lower, strip accents, collapse whitespace, sort or dedupe lines, remove HTML tags. Price: $0.003 USDC per call via x402 (eip155:8453).

Input Schema

NameRequiredDescriptionDefault
opYes
textYes

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 that this is a safe, read-only, idempotent, non-destructive operation. The description adds valuable context beyond annotations by stating the price and payment mechanism: $0.003 USDC per call via x402 on eip155:8453. It does not describe the output format, but the payment disclosure is meaningful behavioral information.

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?

The description is front-loaded and compact, listing the operations efficiently. It does repeat the title almost verbatim in the first sentence, which is wasted space, but the second sentence adds useful operation detail and pricing information without excessive length.

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 two-parameter text transformation tool with strong annotations and no output schema, the definition is mostly complete: it lists operations and discloses the x402 payment cost. The main gap is that it does not describe the required text input or clarify the output, but an agent can reasonably infer the behavior from the operation list.

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 0%, so the description must compensate for parameter meaning. It does enumerate operation names that map to the op enum, such as strip accents, collapse whitespace, sort/dedupe lines, and remove HTML tags. However, it never mentions the required text parameter or the 524288 max length, leaving some parameter semantics to the schema alone.

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?

The description states a specific verb and resource (transforms text) and enumerates the exact operation family: slugify, camelCase, snake_case, kebab-case, title case, trimming, deduping, and more. This clearly distinguishes it from sibling tools like text_diff and text_stats, which analyze rather than transform text.

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 description makes the intended use clear by listing transformation operations, so an agent can infer this is the tool for text normalization. However, it gives no explicit when-to-use guidance, no exclusions, and does not mention alternatives such as text_diff or text_stats.

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.