Skip to main content
Glama

String utilities: every case, slug, counts and more

pack_string_toolbox
Read-only

Transform one string every common way at once: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, Title Case, Sentence case, upper and lower; a URL slug (accents removed); reversed; trimmed and whitespace-collapsed; and counts of characters, letters, digits, words and lines. Splits identifiers like userIDValue or XMLHttpRequest correctly. Use when naming fields, files and routes or cleaning user input. Example: text=Hello World, user profile ID 42. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
textYesThe string (up to 10,000 characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses pricing/auth (x402 USDC or card key, first 25 free, failed calls free), explains why repeats cost money (explaining idempotentHint=false), and confirms 'reads or computes only and changes nothing' in plain language. It also states the 10,000-character scope of each call.

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?

Front-loaded with the full enumeration of transformations before the usage hint, which is the right ordering. It is dense and the pricing/payment sentence is long, but every clause (including pricing and the no-side-effects note) carries information an agent needs.

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?

With no output schema, the enumeration effectively serves as the return-value description, and pricing/auth/idempotency are covered. It doesn't say how results are packaged (a single object of all variants?), so a 4 rather than a 5.

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?

A single parameter with 100% schema description coverage, so the schema already carries the type and length limit. The description's example ('text=Hello World') adds a little, but it is embedded in a run-on sentence mixing in pricing and is fuzzier than it could be. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource ('Transform one string every common way at once') and then enumerates the exact outputs: camelCase, snake_case, slug, reversed, trimmed, and character/word/line counts. The 'at once' framing differentiates it from single-purpose siblings such as slug, case, and text_stats, so an agent can tell what it uniquely does.

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

Usage Guidelines4/5

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

Gives concrete usage contexts ('naming fields, files and routes or cleaning user input'), which is more than most definitions offer. It stops short of explicit when-not guidance or naming alternatives (e.g., 'for a slug alone use slug'), so a 4 rather than a 5.

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.