Skip to main content
Glama

text_case

Read-only

Case converter + slugify — Split text= into words (handles camelCase, PascalCase, acronyms like XMLHttpRequest, snake/kebab/dot, digits, any script) and return camel, pascal, snake, constant, kebab, train, dot, path, flat, lower, upper, smart title case (small words, colons, keeps iPhone/NASA), sentence case, URL slug (accents stripped, Cyrillic/Greek transliterated, & -> and; sep=, max_len= cuts at a word boundary, unicode=true keeps non-Latin letters), ASCII transliteration, and NFC/NFD/NFKC/NFKD normalization, plus the detected input case. to= limits outputs (comma list); split_digits=true splits letters from digits. Offline, max 10,000 chars. Price: $0.001 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
textYesXMLHttpRequest parser v2

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavior: offline execution, a 10,000-char ceiling, accent stripping/transliteration rules, and a stated price ($0.001 USDC via x402). However, 'Offline' sits in mild tension with openWorldHint=true and an x402 network payment, and no error behavior is described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense and front-loaded (purpose stated first, constraints last), but it is delivered as one sprawling run-on sentence with long parenthetical lists that are hard to parse. Little of the content is waste, but the structure undermines scanability.

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?

With no output schema, the description correctly carries the burden of explaining return values: it names every output case format plus the detected input case. That is strong, but the phantom option parameters and the absent input-format detail leave an agent unsure about how to actually call the tool beyond passing a string.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema exposes only a single required parameter 'text' (with a nonsensical schema description, 'XMLHttpRequest parser v2'), yet the description repeatedly refers to options the schema does not define: sep=, max_len=, unicode=, to=, split_digits=. This is actively misleading — an agent could attempt to pass parameters that will be rejected — and it does not clarify what the one real parameter expects.

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 opening line gives a specific verb+resource pair ('Case converter + slugify') and enumerates the exact transformations produced, so an agent knows precisely what it gets back. It does not, however, differentiate itself from the many sibling text utilities (text_chunk, text_dedupe, text_diff), which the agent must infer from the name 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 when-to-use / when-not-to-use guidance and no named alternative. The constraints given ('Offline, max 10,000 chars', pricing) are operating conditions, not selection guidance, so the agent gets no help choosing this tool over a sibling or deciding when a case conversion is inappropriate.

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