Skip to main content
Glama
BACH-AI-Tools

Power Assist MCP Server

sort

Sort an array of any data type and return the sorted result. Empty arrays are returned unchanged.

Instructions

Perform a simple sort on an Array of any data type and returns it. If an empty Array is provided, it will be returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description carries full responsibility for disclosing behavioral traits. It mentions handling empty arrays but does not disclose whether the original array is mutated, what the default sort order is, or how different data types (e.g., numbers vs. strings) are compared. This is a significant gap for a sort operation.

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 two concise sentences that immediately state the action and the edge case of empty arrays. Every word earns its place, with no fluff or redundant 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?

The tool is simple, but the description omits crucial details like the default sort order (ascending/descending), mutability of the input, and behavior with mixed data types. The empty-array note is helpful, but overall the description leaves the agent uncertain about expected output characteristics.

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?

The input schema has zero parameters, so there is nothing to explain. The description adds no parameter information because none exists. The baseline of 4 is appropriate for a zero-parameter tool.

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 the tool's purpose: performing a simple sort on an array and returning it. It specifies the verb 'sort', the resource 'Array', and the return behavior. However, it does not explicitly differentiate from sibling tools like 'sortbyproperty', though 'simple sort' implies a basic sorting without property key.

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?

There is no guidance on when to use this tool versus alternatives such as 'sortbyproperty', 'reverse', or 'filter'. The description only states what the tool does, not the appropriate context for selection.

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/BACH-AI-Tools/bachai-power-assist'

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