Skip to main content
Glama
aspose-words

Aspose.Words MCP

Official
by aspose-words

set_table_cell_shading

Apply a fill color as shading to a specific table cell in a document by specifying its position.

Instructions

Set table cell shading to the specified color

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
table_indexYes
row_indexYes
col_indexYes
fill_colorYes
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only states that it sets shading to a color, but does not explain whether it overwrites existing shading, what color formats are accepted (e.g., hex, RGB), or any side effects. This is insufficient for a tool that modifies document state.

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

Conciseness3/5

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

The description is a single concise sentence that immediately states the purpose. However, it is too brief to provide necessary context, and the structure is flat with no supplementary information. While not verbose, it sacrifices clarity for brevity.

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?

Given the tool's complexity (5 required parameters, no output schema, no annotations), the description is incomplete. It omits critical details about parameter values, return behavior, and effects on the document. The agent lacks sufficient context to use the tool reliably without additional assumptions.

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%, so the description must compensate. It fails to explain any parameter semantics, such as what format fill_color expects or how table_index, row_index, and col_index are indexed (0-based vs 1-based). The description adds no value beyond the parameter names themselves.

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 verb 'set', the resource 'table cell shading', and specifies 'to the specified color'. It distinguishes this tool from siblings like format_table_cell_text or set_table_cell_alignment, which deal with other formatting aspects.

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?

The description provides no guidance on when to use this tool versus alternatives such as set_table_cell_padding or format_table_cell_text. It does not mention prerequisites, index conventions, or when not to use it, leaving the agent without contextual decision-making information.

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