Skip to main content
Glama
aspose-words

Aspose.Words MCP

Official
by aspose-words

apply_table_alternating_rows

Apply alternating background colors to rows of a table in a Word document, using customizable colors to improve readability.

Instructions

Apply alternating row colors to a table

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
table_indexYes
color1NoFFFFFF
color2NoF2F2F2
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It only states the action without explaining what happens to existing colors, whether header rows are affected, or the meaning of default color values. It does not mention if the tool is destructive or requires permissions. This is insufficient 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.

Conciseness2/5

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

While the description is brief (one sentence), it omits critical information, making it under-specified rather than concise. The brevity comes at the cost of clarity and completeness, so it does not earn high marks for efficiency.

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

Completeness1/5

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

Given the lack of output schema, 4 parameters with no descriptions, and no annotations, the description is severely incomplete. It does not explain return values, error conditions (e.g., invalid table_index), or side effects. A tool that modifies a document needs much more context for safe invocation.

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

Parameters1/5

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

Schema description coverage is 0% for 4 parameters, and the description adds no explanation of what parameters like 'table_index', 'color1', or 'color2' represent. The description does not clarify that 'color1' and 'color2' are the two alternating colors or that 'table_index' is the zero-based index of the table in the document. This fails to compensate for the lack of schema descriptions.

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 'Apply alternating row colors to a table' clearly states the action and resource. However, it does not differentiate from sibling table tools like 'format_table' or 'set_table_cell_shading', which could also modify colors. The verb 'apply' and resource 'alternating row colors' are specific enough to convey the core purpose.

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?

No guidance is provided on when to use this tool versus alternatives. There is no mention of prerequisites (e.g., table must exist), context for the table_index, or when this is preferable to other formatting tools. The agent receives no help in deciding between this and sibling tools like 'format_table'.

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-words/Aspose.Words-MCP'

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