Your code generation agent converts "get user profile" to camelCase and produces "getUserprofile" instead of "getUserProfile". Case conversion has specific word boundary rules that vary by convention. These tools apply them consistently.
All Case Tools (20)
Your agent gets access to 20 case tools via the /mcp/case/ endpoint. Here's the complete list:
| Tool | Description |
|---|---|
case/camel | To Camel Case |
case/pascal | To Pascal Case |
case/snake | To Snake Case |
case/screaming-snake | To Screaming Snake Case |
case/kebab | To Kebab Case |
case/train | To Train Case |
case/title | To Title Case |
case/sentence | To Sentence Case |
case/upper | To Upper Case |
case/lower | To Lower Case |
case/swap | Swap Case |
case/capitalize | Capitalize Text |
case/dot | To Dot Case |
case/path | To Path Case |
case/constant | To Constant Case |
case/header | To Header Case |
case/alternating | To Alternating Case |
case/inverse | Inverse Case |
case/detect | Detect Case |
case/convert-all | Convert All Cases |
Agent Scenarios
Here's how real agents use these tools:
1. Code generation agent
A coding assistant converts natural language function descriptions to proper camelCase function names.
case/camel
{ "text": "get user profile data" }
2. API adapter agent
An integration agent converts between snake_case API responses and camelCase frontend conventions.
case/snake
{ "text": "getUserProfile" }
3. Documentation agent
A docs agent converts code identifiers to Title Case for human-readable documentation headers.
case/title
{ "text": "user_account_settings" }
MCP Setup
Add case tools to your agent in under 2 minutes. Choose your client:
Claude Desktop / Claude Code
Add this to your MCP config:
{
"mcpServers": {
"tinyfn-case": {
"url": "https://api.tinyfn.io/mcp/case/",
"headers": {
"X-API-Key": "your-api-key"
}
}
}
}
Cursor
Go to Settings > MCP and add a new server:
- Type: SSE
- URL:
https://api.tinyfn.io/mcp/case/sse - Headers:
X-API-Key: your-api-key
Tip: Use the category-specific endpoint (/mcp/case/) for the best experience. The all-in-one endpoint (/mcp/all/) works too but has 500+ tools which some clients handle less efficiently.
When to Use These Tools
Use case MCP tools when your agent needs to:
- Guarantee correctness — when wrong answers have real consequences
- Process user data — when you're operating on actual user input, not hypothetical examples
- Maintain consistency — when the same input must always produce the same output
You don't need these tools for casual conversation or rough estimates. Use them when precision matters.
Ready to add case tools to your agent?
Get Free API Key 100 requests/month free. No credit card required.Frequently Asked Questions
What case conversions does TinyFn support?
TinyFn supports camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, UPPER CASE, and lower case conversions.
How are word boundaries detected?
TinyFn detects word boundaries from spaces, underscores, hyphens, and camelCase transitions (lowercase→uppercase). This means it can convert from any case format to any other.
Can TinyFn handle acronyms?
Yes. TinyFn handles common acronym patterns, preserving proper casing for sequences like "HTML", "API", and "URL" in conversions.