Skip to main content
Glama

convert_case

Convert text between camelCase, PascalCase, snake_case, kebab-case, uppercase, and lowercase formats. Specify the target style and input text to get the converted result.

Instructions

Convert text between camelCase, PascalCase, snake_case, kebab-case, and more.

Parameters:
    text — Text to convert.
    style — Target case: 'camel', 'pascal', 'snake', 'kebab', 'upper', 'lower'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
styleNocamel

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are present, so the description carries the full burden. It only states the basic conversion action without disclosing edge cases (e.g., handling of digits, special characters, or non-ASCII text). For a simple tool, this is a moderate gap.

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 short and to the point, with a clear introductory sentence followed by parameter documentation. It is efficient, though slightly redundant by repeating parameter names in the list.

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?

Given that an output schema exists (though not shown), the description does not need to explain return values. It covers the essential input details and behavior. However, it could mention output format or error handling for completeness.

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 0%, but the description compensates by listing both parameters ('text' and 'style') with brief explanations and enumerates the valid values for 'style'. This adds significant meaning beyond the schema fields.

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 clearly states the verb 'convert' and the resource 'text', and specifies the target case styles (camelCase, PascalCase, snake_case, etc.). This differentiates it from siblings like 'swap_case' or 'invert_case' by naming specific case conventions.

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 implies usage for general case conversion but does not explicitly state when to use this tool versus siblings like 'swap_case', 'title_case', or 'alternating_case'. No exclusions or alternative recommendations are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/scotia1973-bot/api-hub'

If you have feedback or need assistance with the MCP directory API, please join our Discord server