Skip to main content
Glama
aspose-cells-cloud

Aspose.Cells Cloud MCP Server

Official

remove_extra_line_breaks

Remove extra line breaks in Excel worksheet text, collapsing multiple newlines to a single break or eliminating them entirely based on configuration.

Instructions

Removes excessive line breaks (multiple consecutive newline characters) from text values within a specified range of a worksheet in an Excel file using Aspose.Cells Cloud API. Collapses multiple line breaks into single line breaks or removes them entirely based on configuration. Returns True if the operation succeeds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_rangeNo
worksheetNo
file_tokenYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that multiple line breaks are collapsed to single or removed entirely, and that the operation returns True on success. However, it omits side effects, error handling, and what 'based on configuration' actually means, creating ambiguity.

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 sentences, front-loaded with action and scope, and contains no filler. It efficiently adds behavioral details and return value in the second sentence.

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

Completeness4/5

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

The description covers the purpose, scope, and success criteria. However, it leaves gaps around the 'configuration' details, file_token purpose, and range format, and does not fully anticipate all operational questions. Given a simple tool with an output schema, it is largely complete but not fully self-contained.

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

Parameters3/5

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

Schema coverage is 0%, so the description must compensate. It adds meaning to _range and worksheet by indicating 'specified range of a worksheet', but does not explain formats, defaults, or the required file_token. The mention of 'configuration' does not correspond to any parameter in the schema.

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 clearly states the tool's action ('Removes') and specific resource ('excessive line breaks from text values within a specified range of a worksheet'), differentiating it from sibling tool remove_all_line_breaks by targeting only 'excessive' breaks rather than all breaks.

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

Usage Guidelines3/5

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

The description implies usage for cleaning up redundant line breaks in a specified area, but it does not explicitly state when to prefer this tool over alternatives like remove_all_line_breaks, nor does it mention any exclusions or prerequisites. The context of 'excessive vs all' is implied but not directly stated.

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/aspose-cells-cloud/Aspose.Cells-Cloud-MCP-Server'

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