Skip to main content
Glama

Agent Data Tools: Utilities

Case converter: camelCase, snake_case, kebab-case and more

case
Read-only

Convert text or identifiers between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, UPPER and lower. Handles mixed input like 'userID_value'. Use when renaming fields or generating code identifiers. Example: text=user profile id, to=camel. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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>",
      "to": "<to>"
    },
    "name": "case"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYescamel, pascal, snake, kebab, constant, title, sentence, upper or lower
textYesThe text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, and the description reinforces this with "Reads or computes only and changes nothing." It goes meaningfully beyond the annotations by disclosing billing behavior: $0.01/call via x402 USDC or a card key, first 10 free, failed calls free, and an explicit warning that repeated calls are not free (consistent with idempotentHint=false). It does not spell out auth flow details, but the cost and non-idempotence implications are surfaced.

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 capability statement and the list of supported cases are front-loaded, then usage and pricing follow in a logical order. The billing sentence is dense but each clause is load-bearing, and nothing is redundant enough to impede scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter converter with full schema coverage and no output schema, the description covers capability, input flexibility, selection context, and cost/auth model. Nothing material an agent needs to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so both parameters are already documented and the baseline is 3. The description adds value with a worked example (text=user profile id, to=camel) that shows how the two parameters combine and clarifies that `text` accepts free-form human input rather than only existing identifiers.

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 uses a specific verb ("Convert") with a concrete resource ("text or identifiers") and enumerates every supported target style: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, UPPER and lower. The note that it handles mixed input like 'userID_value' further pins down what kinds of inputs qualify, so an agent can distinguish this from text-rewriting siblings without inspecting the schema.

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?

"Use when renaming fields or generating code identifiers" gives a clear positive trigger for selection. There is no explicit when-not guidance and no named alternative tool for adjacent tasks (e.g. general text rewriting), so it stops short of full routing guidance, but the intended context is unambiguous.

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