Skip to main content
Glama
aspose-cells-cloud

Aspose.Cells Cloud MCP Server

Official

Trim Text From Leading

trim_text_from_leading

Removes specified leading characters from text values in a worksheet range of an Excel file using Aspose.Cells Cloud API. Returns True on success.

Instructions

Removes specified leading characters only (from the beginning) of text values 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
file_uuidYes
trim_textNo
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"
      -]New value: +[
      +  "file_uuid"
      +]
  2. First observedv26.4.0

TDQS

A3.7/5.0
Behavior2/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 of behavioral disclosure. It states that it 'Returns True if the operation succeeds,' which is a minor behavioral trait, but it does not disclose whether the operation modifies the file in place, requires specific permissions, or has any side effects. For a mutation tool, this lack of transparency is a significant gap, leaving the agent uncertain about the operation's consequences.

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 a single, front-loaded sentence that starts with the core action and then adds specific details (leading characters, range, worksheet, API, return value). There is no redundancy or wasted words. It is appropriately sized and efficient, conveying essential information without unnecessary elaboration.

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 has 4 parameters with no schema descriptions, no annotations, and an output schema (which exists but its contents are not shown). The description explains the basic operation and return value but does not address parameter formats (e.g., range syntax), whether the file is modified in place or returns a new file, or any prerequisites or error conditions. Given the absence of annotations, the description should cover more behavioral and usage context to be fully complete.

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?

Schema description coverage is 0%, so the description must compensate for parameter meaning. It does so by referencing 'specified leading characters' (trim_text), 'specified range' (_range), and 'worksheet' (worksheet), thus giving context to all parameters except file_uuid, which is self-explanatory. While it does not provide exact formats or defaults, it clearly maps each parameter to its role in the operation, adding significant value beyond 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 action: 'Removes specified leading characters only (from the beginning) of text values within a specified range of a worksheet in an Excel file using Aspose.Cells Cloud API.' It specifies the verb, resource, and scope (leading characters, range, worksheet), which distinguishes it from sibling tools like trim_text_from_trailing (which removes trailing characters) and trim_text (which likely trims both sides). The purpose is unambiguous and specific.

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: if you need to trim leading characters specifically, use this tool. However, it does not explicitly contrast with alternatives like trim_text or trim_text_from_trailing, nor does it state when not to use it. The context signals list many sibling tools, but the description does not reference them. Thus, usage guidance is implied rather than explicit.

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