Skip to main content
Glama

TinyFn

swap_case

Swap case of each character.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to convert

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are present, so the description bears full responsibility for behavioral disclosure. It states the basic operation but does not specify how non-alphabetic characters are handled, nor any other side effects or constraints. The description adds minimal behavioral context beyond the core purpose.

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 extremely concise, consisting of a single phrase that is front-loaded and directly conveys the tool's action. Every word serves a purpose, and there is no extraneous information.

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

Completeness3/5

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

Given the tool's simplicity (one parameter, no output schema), the description covers the essential purpose. However, among a large set of sibling tools with overlapping functions (e.g., 'inverse_case'), more specificity about behavior (e.g., non-alphabetic treatment) would improve 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 100% for the single parameter 'text', with a basic description 'Text to convert'. The tool description adds value by specifying the conversion type ('swap case'), which the schema lacks. Without the description, the schema alone would not indicate the nature of the conversion.

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 'Swap case of each character' clearly states the verb (swap case) and resource (each character in the text). It distinguishes the tool from case conversion siblings like 'uppercase' or 'lowercase' by indicating it inverts the case.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. For instance, the sibling list includes 'inverse_case', which likely performs a similar function, but no differentiation is given. Lacks explicit when-to-use or when-not-to-use context.

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.