Skip to main content
Glama
kchia

AIE8-MCP Session Server

by kchia

text_utils

Transform and analyze text with operations including case conversion, reversal, word and character counts, and space management. Enter text and choose an operation to get the result.

Instructions

Perform various text operations on the input text.

Available operations:

  • 'uppercase': Convert text to uppercase

  • 'lowercase': Convert text to lowercase

  • 'title': Convert text to title case

  • 'reverse': Reverse the text

  • 'word_count': Count number of words

  • 'char_count': Count number of characters

  • 'remove_spaces': Remove all spaces

  • 'add_spaces': Add spaces between each character

  • 'random_case': Randomize the case of each character

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
operationYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description takes on the burden of disclosing behavior. It thoroughly describes each operation's effect (e.g., 'uppercase: Convert text to uppercase') and notes the random_case behavior. However, it does not mention edge cases such as empty input or invalid operation handling, nor does it describe the return structure, though an output schema exists. This is adequate for a pure function.

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?

The description is efficiently structured with a one-line intro followed by a bulleted list of operations. Every line conveys necessary information, and the format is front-loaded with the primary purpose. No wasteful words.

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?

Given that the tool has only two simple parameters and an output schema, the description is complete. It covers all operation options and their semantics, making it sufficient for an agent to select and invoke the tool. The lack of detailed error handling or whitespace notes is a minor omission for such a deterministic utility.

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

Parameters5/5

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

The input schema provides only parameter names and types with zero descriptions. The description compensates fully by explaining the 'operation' parameter enumerations and their meanings, and by defining 'text' as the 'input text.' This gives the agent everything needed to construct valid arguments.

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 opens with 'Perform various text operations on the input text,' a specific verb+resource statement that immediately defines the tool's scope. It enumerates nine distinct operations, distinguishing it from sibling tools like web_search and roll_dice, which are unrelated. The tool name 'text_utils' is vague, but the description fully disambiguates it.

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?

The description clearly frames the tool's use case as text transformation and lists all supported operations, giving an agent precise criteria for selection. It does not explicitly state when NOT to use this tool, but the sibling tools are so different that no exclusions are necessary. The context is unambiguous.

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/kchia/AIE8-MCP-Session'

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