Skip to main content
Glama
aspose-cells-cloud

Aspose.Cells Cloud MCP Server

Official

Convert Line Break To Text

convert_line_break_to_text

Replace line break characters in Excel cells with custom text across a worksheet range via Aspose.Cells Cloud API. Returns true when successful.

Instructions

Replaces all line break characters (\n, \r\n, \r) within text cells with a specified replacement text string in a worksheet range using Aspose.Cells Cloud API. Returns True if the operation succeeds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_rangeNo
file_uuidYes
worksheetNo
target_textYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv26.4.1
    • removedInput schema / properties / file_token
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / file_uuid
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "file_token",
      -  "target_text"
      -]New value: +[
      +  "file_uuid",
      +  "target_text"
      +]
  2. First observedv26.4.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly states the transformation ('replaces all line break characters') and the success return value ('Returns True if the operation succeeds'). However, it does not disclose whether the original file is modified in place, whether the operation is reversible, or any prerequisites such as authentication or file state, which are material for a mutation tool.

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

Conciseness4/5

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

The description is a single, compact sentence that leads with the core operation and adds return behavior. It is efficient and free of redundant restatements of the tool name, though the phrase 'using Aspose.Cells Cloud API' adds little practical value for an agent.

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?

For a tool with four parameters, zero schema-description coverage, and no annotations, the description is too thin to be fully actionable. It omits parameter semantics and usage guidance, and the output schema cannot make up for the fact that an agent has no way to know how to specify the worksheet range or what happens when optional fields are omitted.

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 description coverage is 0%, so the description must compensate, but it only hints at 'target_text' as the replacement string and vaguely refers to a 'worksheet range.' It does not explain file_uuid, worksheet, _range, or their null/default behavior. An agent cannot confidently map the intended worksheet range to the _range and worksheet parameters without additional inference.

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 states a specific action (replaces line break characters) on a specific resource (text cells in a worksheet range), including the exact character variants ( , , ). It also clarifies that line breaks are replaced with a specified text string rather than merely removed, which meaningfully distinguishes it from sibling tools like remove_all_line_breaks and remove_extra_line_breaks.

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 explicit guidance on when to use this tool versus alternatives. The description does not name sibling tools or explain conditions such as 'use this when you need to preserve a placeholder in place of line breaks' versus 'use remove_all_line_breaks when you want to delete them.' The intended use is only implied by the operation name and description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.