Skip to main content
Glama

text_sort_lines

Sort text lines online using alphabetical, numerical, length, or date criteria. Remove duplicates and empty lines with advanced sorting features.

Instructions

Menu ID: sort_lines. Sort Lines Tool. Sort text lines online with multiple options: alphabetical, numerical, length, date sorting. Remove duplicates and empty lines with advanced sorting features. Use describe_tool with tool_id "sort_lines" for full page guidance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

The description mentions sorting algorithms and features like removing duplicates/empty lines, providing some behavioral insight. However, it does not disclose side effects or output format. With no annotations, this is moderate transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Short but includes redundant phrases like 'Menu ID: sort_lines' and 'Sort Lines Tool'. Could be more concise, but overall acceptable length.

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

Completeness2/5

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

Lacks specification on how to use sorting options and output format. Relies on describe_tool for completeness, making this description insufficient for a tool with zero schema parameters.

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

Parameters2/5

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

Schema defines 0 parameters with additionalProperties: true, but description mentions 'multiple options' without defining parameter names or structures. The description adds little beyond the schema, leaving invocation unclear.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Sort Lines Tool' and lists sorting options (alphabetical, numerical, length, date), making the purpose explicit. It distinguishes from sibling text tools which do not sort lines.

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 on when to use this tool vs alternatives. It only refers to describe_tool for full guidance, but does not provide any usage context or prerequisites.

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/Jambozx/onlinecybertools-mcp-server'

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