Skip to main content
Glama

IA-QA — 152 QA & Dev Tools for AI Agents

case_convert

Read-onlyIdempotent

Convert a string between naming conventions: camelCase, PascalCase, snake_case, kebab-case, UPPER_SNAKE_CASE, dot.case, Title Case. Essential for code generation and refactoring.

Input Schema

NameRequiredDescriptionDefault
toYesTarget case: "camel", "pascal", "snake", "kebab", "upper_snake", "dot", "title"
inputYesString to convert (e.g., "myVariableName", "my-css-class")

Output Schema

NameRequiredDescriptionDefault
resultNo
from_wordsNo
target_caseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "input": "helloWorld fooBar",
      +    "to": "snake"
      +  }
      +]
  2. Changed1 schema field changed
    • addedOutput schema / properties
      Added value: +{
      +  "from_words": {},
      +  "result": {},
      +  "target_case": {}
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is covered. The description adds nothing behavioral beyond that: it doesn't say how multi-word or mixed input is tokenized (the schema example passes "helloWorld fooBar"), how non-alphanumeric characters are treated, or what happens for an unknown target case.

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 sentences, the supported convention list front-loaded, and no filler. Every clause 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?

An output schema exists, so return values need no explanation, and both parameters are fully described in the schema. What's missing is only the tokenization/edge-case behavior for mixed-format input, which is a modest gap for a two-argument text utility.

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 100% and the "to" parameter enumerates the accepted values, so the schema does the heavy lifting. The description lists the conventions in human labels (UPPER_SNAKE_CASE, dot.case) that don't exactly match the schema's codes (upper_snake, dot), so it neither adds nor cleanly reinforces parameter semantics.

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 (convert) plus the resource (a string) and enumerates the exact naming conventions supported, so the operation is unambiguous. Sibling utilities are unrelated one-shot converters (generate_slug, text_stats), so no sibling discrimination is needed.

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?

"Essential for code generation and refactoring" gives a loose usage context but never says when to use this versus related helpers like generate_slug, nor does it set any preconditions or exclusions. The usage guidance is implied rather than stated.

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.