Skip to main content
Glama
aspose-cells-cloud

Aspose.Cells Cloud MCP Server

Official

Remove First N Characters

remove_first_n_characters

Remove the first N characters from text cells in a specified Excel worksheet range. Use this to clean or trim cell data quickly via the Aspose.Cells Cloud API.

Instructions

Removes the first N characters from the beginning of each text cell within a specified range of a worksheet in an Excel file using Aspose.Cells Cloud API. Returns True if the operation succeeds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_rangeNo
numberYes
file_uuidYes
worksheetNo

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",
      -  "number"
      -]New value: +[
      +  "file_uuid",
      +  "number"
      +]
  2. First observedv26.4.0

TDQS

B3.3/5.0
Behavior2/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 states the core destructive action ('Removes') and that it returns True on success, but it does not disclose whether the source file is modified in place, how omitted worksheet/range parameters behave, or what happens to non-text cells. This is a significant gap 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 efficient sentence with the action front-loaded, followed by a concise return-value statement. The only mildly expendable element is 'using Aspose.Cells Cloud API,' which is an implementation detail that does not help tool selection.

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 no annotations, 0% schema description coverage, and optional-looking parameters (worksheet, _range with null defaults), the description is under-specified. It does not clarify the scope when worksheet or _range are omitted, and it omits edge-case behavior such as N larger than cell length or mixed-type cells. The existence of an output schema mitigates return-value concerns but not these operational gaps.

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 description coverage is 0%, so the prose must compensate. The description conceptually maps file_uuid (Excel file), number (N), worksheet, and _range (specified range), but it does not explain range syntax or the default-null behavior of worksheet and _range. It adds partial meaning beyond bare parameter names but leaves important operational details undocumented.

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 opens with a specific verb and resource: 'Removes the first N characters from the beginning of each text cell within a specified range of a worksheet in an Excel file.' It accurately differentiates from close siblings such as remove_last_n_characters by explicitly stating 'first' and 'beginning,' and from trim_text_from_leading by specifying a fixed character count rather than whitespace trimming.

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 intended usage is implied by the operation itself: strip a fixed number of leading characters from text cells in a worksheet range. However, the description gives no explicit guidance about when to prefer this tool over alternatives, nor any exclusion criteria. Sibling tools like trim_text_from_leading and remove_before_text are not mentioned, leaving selection partly to inference.

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